+ Reply to Thread
Results 1 to 3 of 3

Adding sequential numbers to Column A if Column B has text

  1. #1
    Registered User
    Join Date
    12-28-2015
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    2

    Cool Adding sequential numbers to Column A if Column B has text

    Capture.JPG

    Hi! Attached is the excel that I'm currently working on. Is there a way to number the companies in Column B? (i.e. A2 will return 1.01, A7 will return 1.02, A11 will return 1.03). Would be great if there is a quick method to do this as it's quite tedious to manual key in the number (it has 100+ companies).

    Thanks for the help!

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Adding sequential numbers to Column A if Column B has text

    Type in 1.01 in Cell A2

    Then in Cell A3 use
    =IF(ISTEXT(B3),MAX(A$2:A2)+0.01,"")

    Copy down as far as required

    Make sure that dates in Column B are actually dates and not just text.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    12-28-2015
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    2

    Re: Adding sequential numbers to Column A if Column B has text

    Thanks for the reply!

    Ace_XL: I tried using your formula but numbers appeared regardless of text or date (i.e. A2 to A4, A7 to A8, A11 to A19). Tried changing the cells to dates but it still didn't work. Maybe I did something wrong.

    However, i managed to figure out
    Please Login or Register  to view this content.
    seems to work well for me, so thank you for pointing me in the right direction!

+ 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. Adding Sequential Numbers in Column B Based on Column A Values
    By habsfan1433 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-14-2014, 04:17 PM
  2. Sequential column numbers
    By C Holmes in forum Excel General
    Replies: 2
    Last Post: 06-04-2010, 01:45 PM
  3. Sequential Numbers Depending on Another Column
    By hardeep.kanwar in forum Excel General
    Replies: 4
    Last Post: 12-06-2009, 07:37 AM
  4. inserting sequential numbers into a column
    By neowok in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2009, 10:37 AM
  5. adding prefix numbers to text in column automatically?
    By cfjess012 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-22-2008, 11:28 PM
  6. adding increasing numbers in column to existing text
    By dfarris in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-13-2006, 02:54 AM
  7. Fill a column with sequential numbers
    By GISDude in forum Excel General
    Replies: 4
    Last Post: 05-01-2006, 09:45 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