+ Reply to Thread
Results 1 to 4 of 4

FORMULA NEEDED: If a cell = certain criteria a consecutive number will be produced

  1. #1
    Registered User
    Join Date
    02-05-2015
    Location
    Karratha, Australia
    MS-Off Ver
    2010
    Posts
    15

    Red face FORMULA NEEDED: If a cell = certain criteria a consecutive number will be produced

    Looking for a formula to put in Column A which will give me a consequtive number sequence (starting from 1) if Column D equals "On-site".

    If column D equals "RR" I need Column A to be either blank or 0.

    I have tried =IF(D9="On-site", A9+1, 0) but it will not work if the cell above is 0. Thinking I will need to incorporate MAX+1?

    I have inserted the numbers in Column A which I want the forumla to generate.
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: FORMULA NEEDED: If a cell = certain criteria a consecutive number will be produced

    This appears to work at my end.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Enter in A8 and fill down.
    Last edited by FlameRetired; 02-05-2015 at 10:56 PM. Reason: formula wrong

  3. #3
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: FORMULA NEEDED: If a cell = certain criteria a consecutive number will be produced

    Like this:
    Please Login or Register  to view this content.
    Note: I include C8, because on cell B19 you have : "DIRECT LABOUR ON SITE" and from your example this not count.
    Click (*) if you received helpful response.

    Regards,
    David

  4. #4
    Registered User
    Join Date
    02-05-2015
    Location
    Karratha, Australia
    MS-Off Ver
    2010
    Posts
    15

    Re: FORMULA NEEDED: If a cell = certain criteria a consecutive number will be produced

    Perfection! Thanks so much, really appreciated.

+ 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. Summing number of good products produced during a shift
    By bberger1985 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-23-2014, 04:21 PM
  2. Formula needed to populate associate name when ID number entered in another cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-20-2013, 12:06 AM
  3. [SOLVED] Rounding the number produced by an evaluated expression to the nearest number in CF
    By orly_sm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2013, 09:16 AM
  4. consecutive number counting formula
    By excelproof in forum Excel General
    Replies: 8
    Last Post: 02-16-2011, 05:52 AM
  5. Function to Count Number of Consecutive Rows with a Specific Criteria?
    By Templee1 in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 09-06-2005, 03: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