+ Reply to Thread
Results 1 to 3 of 3

Number sequence column B if a condition is met in column A

  1. #1
    Registered User
    Join Date
    01-10-2012
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2010
    Posts
    62

    Number sequence column B if a condition is met in column A

    Hello all,

    Please See Attached

    I would like to find all of the rows that have "1000" in column A and sequentially number column B for these rows. So the 1st row with "1000" in column A will replace "000" and show "001" in column B of that row. Next "1000", "002". Next "1000", "003" and so on. The "1000" Number can also be found in cell A7 of the spreadsheet. i would like to start with the following code.

    Please Login or Register  to view this content.
    I need help to finish the code. The "xxx" would be the part to change, as I need the Cells(p, "B") to be sequentially numbered (ex. 001, 002, 003)


    Thanks in advance.
    Attached Files Attached Files
    Last edited by MICowboy13; 12-15-2014 at 04:23 PM.

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Number sequence column B if a condition is met in column A

    Please Login or Register  to view this content.
    Acts 4:12
    Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Number sequence column B if a condition is met in column A

    Maybe:

    Please Login or Register  to view this content.

+ 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. Hep filling column with a number sequence whenever value changes
    By kkxm in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-13-2014, 02:00 PM
  2. [SOLVED] Delete rows if column A matches number and meets condition in another column
    By stokiejames09 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-05-2014, 05:03 PM
  3. Replies: 4
    Last Post: 07-16-2013, 09:45 AM
  4. Find next avaliable number in out of sequence column
    By Kudos247 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-25-2008, 09:21 PM
  5. Repeating number sequence in a column
    By Nexan in forum Excel General
    Replies: 3
    Last Post: 03-31-2005, 03:06 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