+ Reply to Thread
Results 1 to 4 of 4

Sequencing numbers in a formula.

  1. #1
    Registered User
    Join Date
    11-26-2008
    Location
    uk
    Posts
    18

    Sequencing numbers in a formula.

    I'm trying to sequence some information in column(E). However if a cell is blank(B) then a blank cell appears and the sequenced number is placed in the following row of the column. e.g:

    pear 1
    apple 2
    banana 3
    mango 4

    pear 1
    apple 2

    mango 3

    Thanks in advance
    Last edited by sleazyfish; 06-09-2009 at 06:01 AM.

  2. #2
    Registered User
    Join Date
    11-26-2008
    Location
    uk
    Posts
    18

    Re: Sequencing numbers in a formula.

    Doesn't matter because i solved it myself.

    Placed in column E and then copied down:

    =IF(ISNA(IF(B2="","",VLOOKUP(MAX(E$1:E1),E$1:E1,1)+1)),1,IF(B2="","",VLOOKUP(MAX(E$1:E1),E$1:E1,1)+1))

    Great forum though. It's been a great help to me over the past year.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,033

    Re: Sequencing numbers in a formula.

    Quote Originally Posted by sleazyfish View Post
    Great forum though. It's been a great help to me over the past year.
    3 posts over the year
    Never use Merged Cells in Excel

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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