+ Reply to Thread
Results 1 to 3 of 3

Copy formula to multiple cells

  1. #1
    Registered User
    Join Date
    10-01-2008
    Location
    California
    Posts
    17

    Copy formula to multiple cells

    Hi guys, I have a vlookup formula that I want to copy from cell b16 to b30. How can I do that without excel adjusting all of the formula.

    The formula looks like this: =vlookup(b16,b1:b15,1,false)
    I want b16 to change with the cells but "b1:b15" I don't want to change

    it should look like this in the worksheet

    cell b16 =vlookup(b16,b1:b15,1,false)
    cell b17 =vlookup(b17,b1:b15,1,false)
    cell b18 =vlookup(b18,b1:b15,1,false)
    cell b19 =vlookup(b19,b1:b15,1,false)
    cell b20 =vlookup(b20,b1:b15,1,false)
    cell b21 =vlookup(b21,b1:b15,1,false)

    Thanks for the help
    Last edited by jrtulare185; 02-12-2009 at 05:33 PM.

  2. #2
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: Copy formula to multiple cells

    Ah
    Welcome to the world of constants.
    When dragging a formula, Excel will assume you want to adjust the cells according to which direction you're dragging it... unless you use those happy little $ thingies.

    Please Login or Register  to view this content.
    This will keep B1:B15 from changing, no matter how much you move it.

    Play around with it in a few cells, you'll figure out the advantages to having $ in only one place, sometimes both, and sometimes none.
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Registered User
    Join Date
    10-01-2008
    Location
    California
    Posts
    17

    Re: Copy formula to multiple cells

    thank you, that will make my life a lot easier...

+ 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