+ Reply to Thread
Results 1 to 4 of 4

Excel Formula to reflect correct number sequence based on certain conditions

  1. #1
    Registered User
    Join Date
    03-01-2017
    Location
    Manila, Philippines
    MS-Off Ver
    MS Office 2007
    Posts
    77

    Excel Formula to reflect correct number sequence based on certain conditions

    Hi excelforum Experts,

    I have a daily report that takes much of my time dragging cells to make the number sequence correct. I am wondering if there could be someone that could help me create a formula based on the following conditions: Please see attached workbook.

    1.) cell E7 - I manually put number "1" as my first line item (no formula needed).
    2.) cell E8 - IF(A8="SJ","1",IF(A8="#","",MAX($E$7:$E7)+1)) (this is existing formula I used for the remaining cells).

    Note: If you could notice the cell E7 to E32, the numbering looks good because the conditions based on the formula above are met. However, the succeeding numbering starting from cell E33 down to E79 are not good may be because I am missing something on my formula. This is the challenging scenario that I am referring to and I really hope that someone from here could help me. The numbering that I wanted in the column E can be seen in column D.

    Thanks for helping me.

    Warmest regard,
    Arnel
    Attached Files Attached Files

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Excel Formula to reflect correct number sequence based on certain conditions

    can you try this

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    in exchange of the max formula

    regards kabayan,
    Vladimir
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    03-01-2017
    Location
    Manila, Philippines
    MS-Off Ver
    MS Office 2007
    Posts
    77

    Re: Excel Formula to reflect correct number sequence based on certain conditions

    Hi Vladimir,

    The formula that you provided works like magic! It really works so well.

    I really appreciate your inputs and I thank you for your immediate feedback! God bless you and your family.

    Warmest regard,
    Arnel

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Excel Formula to reflect correct number sequence based on certain conditions

    You are very much welcome.

    Regards,
    Vlady

+ 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] Formula to get number based on sequence
    By rizmomin in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-17-2016, 07:29 AM
  2. Organizing rows by number of correct conditions met.
    By cvjoey in forum Excel General
    Replies: 3
    Last Post: 12-23-2015, 04:00 PM
  3. [SOLVED] How to get the correct result after considering a number of conditions
    By mehmetics in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-30-2014, 04:35 PM
  4. Formula to calculate next number in sequence based on varying criteria
    By Twaddy006 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-20-2014, 05:53 PM
  5. [SOLVED] Formula to display sequence number based on contiguous start and end dates
    By AlanCake in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-04-2013, 07:37 AM
  6. Replies: 2
    Last Post: 05-19-2013, 03:59 AM
  7. Excel formula for finding next number in a given sequence?
    By Rod in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2006, 07:20 AM

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