+ Reply to Thread
Results 1 to 3 of 3

Formula which auto-generates "item #" based on organization value

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-06-2018
    Location
    Virginia
    MS-Off Ver
    2019
    Posts
    342

    Formula which auto-generates "item #" based on organization value

    Background:
    - I have an XLS (see attached) that includes various organizations (for illustration purposes only, I depicted as as U.S. States in column C).
    - Column A (Item #) has been manually produced. Ultimately, it shows an Item # (in ASC order) for each state.

    Specific Examples:
    - "CA" shows item # 1, 2
    - "FL" shows item # 1, 2, 3, 4
    - "IN" shows item # 1, 2, 3, 4, 5, 6
    - etc.

    Here's what I Need Some Help With:
    - I need to have a formula (col B) which mimics the output in column A.
    - That is, when I drag down the formula from B2 to B33, it must utilized the values in column C and re-start the counter once a new state is utilized.
    - How can this be accomplished in the most efficient way?

    Thank you for your help in advance.
    Tom
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,330

    Re: Formula which auto-generates "item #" based on organization value

    =COUNTIF($C$2:C2,C2)
    Try this formula.
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Forum Contributor
    Join Date
    08-06-2018
    Location
    Virginia
    MS-Off Ver
    2019
    Posts
    342

    Re: Formula which auto-generates "item #" based on organization value

    Perfect! Your formula works great!!

+ 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. Replies: 3
    Last Post: 10-22-2019, 08:34 AM
  2. Help with lookup formula to return "Available" or "Unavailable" based on last entry
    By AntonyCole1979 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-07-2017, 05:14 PM
  3. [SOLVED] Help with lookup formula to return "Available" or "Unavailable" based on last entry
    By AntonyCole1979 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-07-2017, 12:28 PM
  4. [SOLVED] if formula needed to populate either "1" or "0" based on number of units in another cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-07-2015, 11:24 AM
  5. [SOLVED] formula help: conditional format of one column based on "YES"/"NO" content of four others!
    By 10 Dollar Bill in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-20-2014, 01:59 PM
  6. [SOLVED] Auto-populate "Yes" "No" based on multiple criteria.
    By jtmoore in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-18-2014, 09:12 AM
  7. Replies: 11
    Last Post: 05-12-2011, 02:46 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