Consulting

Results 1 to 3 of 3

Thread: Numbering rows

  1. #1
    VBAX Newbie
    Joined
    Jan 2008
    Posts
    1
    Location

    Numbering rows

    Hi

    As you can see I'm new to this forum, not new to forums.

    I need a formula or code that will enter a number in column A only if there is a name in column B. There may a name in column C, but that is not important. In fact, there may be names in column C, in cells one beneath the other, where there is no name in column B: That does not affect column A. The numbers in column A must be increasing even if there no number in the cell above.

    Col A
    1- There is a name in col B
    2- There is a name in column B & C
    ""- No name col B: name in col C
    ""- No name col B: name in col C
    ""- No name col B: name in col C
    3- Name col B: No name col C
    etc
    etc

    Hope that makes sense.

    Thanks

    Brian

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    And you are hoping to submit this as a KB entry?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Moved to the Excel Help forum

    This forum will come closer to getting you help with your question Brain.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •