+ Reply to Thread
Results 1 to 3 of 3

How to start to recount once a condition is met?

  1. #1
    Registered User
    Join Date
    02-22-2021
    Location
    Malaysia
    MS-Off Ver
    2010
    Posts
    6

    Exclamation How to start to recount once a condition is met?

    TTTTT.PNG

    When Normal Room is 0, Then Duration(min) will increase by 10.

    However, when Normal Room is "blank", Then Duration(min) will recount from 0 until Normal Room is NOT "blank".

    However, I want to remain the count previously afterwards.

    Just like the photo attached, when it detects Normal Room is "blank", it will overwrite and start recounting. But when it detects Normal Room is NOT "blank". , it will resume previously.
    Last edited by PeterHan123; 02-24-2021 at 12:14 AM.

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: How to start to recount once a condition is met?

    if we assume headers in row 1 then one option:

    E2: =IF($F2<>"",10*(ROWS(E$2:E2)-1),IF($F1<>"",0,$E1+10))
    copied down

    the above would replicate the results per your screenshot.

  3. #3
    Registered User
    Join Date
    02-22-2021
    Location
    Malaysia
    MS-Off Ver
    2010
    Posts
    6

    Re: How to start to recount once a condition is met?

    It works. Thank you so so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Check between two rows then relabel and recount from 00
    By Raskyl in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-08-2018, 05:36 PM
  2. [SOLVED] Recount/Reorder
    By gilpin004 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-29-2018, 05:57 PM
  3. [SOLVED] Recount/reorder formula
    By gilpin004 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-23-2018, 04:43 PM
  4. start macro on condition
    By jaapaap in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-03-2016, 10:58 AM
  5. Remove rows containing certain phrases & recount number of staff in each dataset
    By Hyflex in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-28-2015, 10:59 PM
  6. Replies: 11
    Last Post: 10-16-2008, 05:14 PM
  7. Pivot - need to recount based on results
    By Kreed in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-19-2005, 04:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1