+ Reply to Thread
Results 1 to 4 of 4

Count values below condition with "1" and above with "2" when condition met

  1. #1
    Registered User
    Join Date
    11-07-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Count values below condition with "1" and above with "2" when condition met

    After trying for a few days I and looking for your help. I have a team table where I need to track work before a team members lunch and after their lunch. I need to number all records a "1" before the lunch break and number the records a "2" after the lunch break. The trouble I am having is that the team table is one large table and the count needs to restart when the team member name changes -- thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Count values below condition with "1" and above with "2" when condition met

    In E2,

    =IF(B2 = 1, 1, IF(C2 = "Unavailable - Lunch", 2, E1))
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    11-07-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Count values below condition with "1" and above with "2" when condition met

    Thank you! Pure genius...this is exactly what I needed!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Count values below condition with "1" and above with "2" when condition met

    You're welcome.

+ 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. [SOLVED] Formulas to sum distinct values with condition "any" and "all"
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-30-2017, 10:40 PM
  2. Formuals to sum distinct values with condition "any" and "all"
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-30-2017, 01:04 PM
  3. Formuals to sum distinct values with condition "any" and "all"
    By HeyInKy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-30-2017, 12:44 PM
  4. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  5. [SOLVED] How to Count number of "Error" and "OK" after the word "Instrument" found in table row
    By eltonlaw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 06:26 AM
  6. Replies: 3
    Last Post: 02-16-2011, 02:55 PM
  7. Replies: 7
    Last Post: 05-13-2006, 05:02 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