• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Continuity Expression in Excel|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Continuity Expression in Excel|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Continuity Expression in Excel
sp_PrintTopic sp_TopicIcon
Continuity Expression in Excel
Avatar
Sheikh Misbah Ul Haq

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
July 1, 2018
sp_UserOfflineSmall Offline
1
July 1, 2018 - 11:33 pm
sp_Permalink sp_Print

Dear Members,

I am working on excel dashboard, but stuck on one most important expression and want your help to evaluate the number continuity formula in excel, I have totally confused why my formula is not working or full fill my requirement.

My requirement is want to count number of day’s continuity if values in column is less than 97 and reset the counter if value is greater than 97

example is mention in the below table.

Continuity Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Day 8 Day 9
0 98 100 97 99 100 100 100 97 100
2 98 0 97 0 99 30 98 90 30
4 98 0 97 0 99 30 80 90 92
9 0 0 0 0 0 0 0 0 0

 My Formula is =IF(COUNTIF(B2:J2,"<97")>=9,9,IFERROR(COLUMN(J2)-COLUMN(INDEX(B2:J2,,MATCH(9.99E+307,IF(B2:J2>97,1,"")))),0)) (But not working like above table)

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
2
July 2, 2018 - 12:31 pm
sp_Permalink sp_Print

Hi Sheikh Misbah

Please attach a sample file containing your original data (without your formulas) and then the expected result (highlight them)

Do NOT include wrong results as it is very confusing.

Include some explanation on how you calculate them. They will help us to understand better.

From your original post, it is difficult to understand what you really wanted.

Sunny

Avatar
Sheikh Misbah Ul Haq

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
July 1, 2018
sp_UserOfflineSmall Offline
3
July 2, 2018 - 10:09 pm
sp_Permalink sp_Print

SunnyKow said
Hi Sheikh Misbah

Please attach a sample file containing your original data (without your formulas) and then the expected result (highlight them)

Do NOT include wrong results as it is very confusing.

Include some explanation on how you calculate them. They will help us to understand better.

From your original post, it is difficult to understand what you really wanted.

Sunny  

Hi Sunny,

Thanks for your time excel sheet is attached.

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
4
July 3, 2018 - 11:38 am
sp_Permalink sp_Print sp_EditHistory

Hi Sheikh

This is as close as I can get to what you wanted.

It uses an ARRAY formula so you must finish with CTRL+SHIFT+ENTER instead of ENTER when you enter the formula.

I am searching for the last position (column) of any value >97 and then subtract it from the number of columns used, 13 in your case  (Column M)

You did not mention what to do if the value is exactly 97 (you only mentioned <97 and >97). I am "resetting" only if the value is >97.

I also noted that the values in the cells are displayed as whole numbers whereas their underlying values are not. This can cause confusion to anyone looking at them. I suggest you either round them up or display them with the correct decimal places. 

Hope this helps.

Avatar
Sheikh Misbah Ul Haq

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
July 1, 2018
sp_UserOfflineSmall Offline
5
July 3, 2018 - 5:17 pm
sp_Permalink sp_Print

SunnyKow said
Hi Sheikh

This is as close as I can get to what you wanted.

It uses an ARRAY formula so you must finish with CTRL+SHIFT+ENTER instead of ENTER when you enter the formula.

I am searching for the last position (column) of any value >97 and then subtract it from the number of columns used, 13 in your case  (Column M)

You did not mention what to do if the value is exactly 97 (you only mentioned <97 and >97). I am "resetting" only if the value is >97.

I also noted that the values in the cells are displayed as whole numbers whereas their underlying values are not. This can cause confusion to anyone looking at them. I suggest you either round them up or display them with the correct decimal places. 

Hope this helps.  

Hi SunnyKow,

Exactly! you got my point i want reset the value in formula cell when series of number values mentioned in columns at right is greater then equal to 97.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Richard West, Kathleen Hayter, Brenda Richards, Shawn Barwick, Nada Perovic
Guest(s) 12
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
terimeri dooriyan
Jack Aston
AndyC
Denise Lloyd
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
LAFONSO HERNANDEZ
Forum Stats:
Groups: 3
Forums: 24
Topics: 6218
Posts: 27265

 

Member Stats:
Guest Posters: 49
Members: 31901
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.