+ Reply to Thread
Results 1 to 4 of 4

Changing one number to another - many times

  1. #1
    Registered User
    Join Date
    11-18-2008
    Location
    Denmark
    MS-Off Ver
    2007
    Posts
    17

    Changing one number to another - many times

    Hi

    I have a spread sheet with 500 lines - where half of them have to be with one number and the other half with another.

    but unfortunatly is is every other that needs a different number.

    At the moment the whole row is called 00000000000105770. I need every other to be 00000000000105750.

    How do I do that?
    Attached Files Attached Files

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Changing one number to another - many times

    Hi,

    - Pop 00000000000105770 in B1, 00000000000105750 in B2.
    - Select B1:B2 and Copy.
    - Select B3:B500 and Paste.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

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

    Re: Changing one number to another - many times

    or this:

    =TEXT(105750+20*MOD(ROW(A1),2), "00000000000000000")

  4. #4
    Registered User
    Join Date
    11-18-2008
    Location
    Denmark
    MS-Off Ver
    2007
    Posts
    17

    Re: Changing one number to another - many times

    Sorry forgot to say that every 1. line has a totally different text.

    I think i might need a macro that can do it....

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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