+ Reply to Thread
Results 1 to 9 of 9

Sequence Number in a diferrent cell

  1. #1
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Sequence Number in a diferrent cell

    Hi

    I need a formula code that will sequence my number from A1.
    Let say I have a number 8 AND i will place the code to different cell that will sequence number to 9

    thanks.

  2. #2
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Sequence Number in a diferrent cell

    I think this one will work.

    =A1+1

    but I need to have it to appear blank in a cell when where is nothing in A1.
    I believed I need an =IF.....

    Thanks.

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Sequence Number in a diferrent cell

    How about...

    =IF(N(A1),A1+1,"")

    N() >> checks A1 to make sure it's a number
    HTH
    Regards, Jeff

  4. #4
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Sequence Number in a diferrent cell

    Hi,

    So, everytime in place this code I have to change A1 to another cell?
    Let say my number in A1 is 8 and I placed the code in C1 so the next one will =IF(N(C1),C11+1,"")?

    thanks.

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Sequence Number in a diferrent cell

    Please attach a sample worksheet so we can visual what you are having trouble with.

  6. #6
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Sequence Number in a diferrent cell

    OK. Here is the sample one. Thank you.
    Attached Files Attached Files

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Sequence Number in a diferrent cell

    Are you saying that you want D6 to be >> =IF(N(B2),B2+1,"") and then F14 to be >> =IF(N(D6),D6+1,"")

    If so, I don't see any easy way to do that as there is not a consistent pattern to follow

  8. #8
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Sequence Number in a diferrent cell

    Hi Jeffrey
    I think I got it.
    The code you provided is good enough.

    Thank you for your help.

  9. #9
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Sequence Number in a diferrent cell

    Good to hear. Thanks for the feedback and you are very welcome.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Auto sum for a cell, when diferrent button clicks.
    By Begineer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2016, 09:54 PM
  2. Replies: 7
    Last Post: 06-08-2015, 08:39 AM
  3. generate number sequence based on cell value
    By Pmaldini3 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-22-2015, 07:13 AM
  4. Text and sequence number in one cell
    By FusionBV in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2013, 09:29 AM
  5. [SOLVED] If cell is not blank, assign next number in sequence
    By dylaughin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-09-2012, 03:57 PM
  6. copy and paste cell in diferrent sheets
    By napo537 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-10-2010, 11:02 AM
  7. diferrent cell margin
    By geo_elio in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 03-17-2008, 10:18 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