+ Reply to Thread
Results 1 to 3 of 3

Fixing a formula

Hybrid View

  1. #1
    Registered User
    Join Date
    01-15-2006
    Posts
    27

    Fixing a formula

    I have the following equation, it is looking up in another worksheet and pulling through information when it finds a match in second file from cell d in first file.

    =VLOOKUP(D10,'C:\New Code Set up\[gcodenewsetupcopy.xls]Sheet1'!C4:O81,4,FALSE)

    This is working but when i copy the equation down a few rows the equation changes to this and it should still be looking at Sheet 1 C4 to O81.

    =VLOOKUP(D14,'C:\New Code Set up\[gcodenewsetupcopy.xls]Sheet1'!C8:O85,4,FALSE)

    I know i need to fix part of the equation but don't know how or which bit.

    Please help!
    Keep Smilin'

  2. #2
    Andrew Houghton
    Guest

    Re: Fixing a formula

    change it to this:

    =VLOOKUP(D10,'C:\New Code Set
    up\[gcodenewsetupcopy.xls]Sheet1'!$C$4:$O$81,4,FALSE)


    The dollar sign indicates the absolute reference for each part of a
    reference it prefixes. In the instance I have supplied the row and column
    are now fixed.

    Andy
    "Boethius1" <Boethius1.21uicm_1137613201.5943@excelforum-nospam.com> wrote
    in message news:Boethius1.21uicm_1137613201.5943@excelforum-nospam.com...
    >
    > I have the following equation, it is looking up in another worksheet and
    > pulling through information when it finds a match in second file from
    > cell d in first file.
    >
    > =VLOOKUP(D10,'C:\New Code Set
    > up\[gcodenewsetupcopy.xls]Sheet1'!C4:O81,4,FALSE)
    >
    > This is working but when i copy the equation down a few rows the
    > equation changes to this and it should still be looking at Sheet 1 C4
    > to O81.
    >
    > =VLOOKUP(D14,'C:\New Code Set
    > up\[gcodenewsetupcopy.xls]Sheet1'!C8:O85,4,FALSE)
    >
    > I know i need to fix part of the equation but don't know how or which
    > bit.
    >
    > Please help!
    >
    >
    > --
    > Boethius1
    >
    >
    > ------------------------------------------------------------------------
    > Boethius1's Profile:
    > http://www.excelforum.com/member.php...o&userid=30497
    > View this thread: http://www.excelforum.com/showthread...hreadid=502627
    >




  3. #3
    Registered User
    Join Date
    01-15-2006
    Posts
    27
    Thanks that worked a treat.

    ---------------------


    Quote Originally Posted by Andrew Houghton
    change it to this:

    =VLOOKUP(D10,'C:\New Code Set
    up\[gcodenewsetupcopy.xls]Sheet1'!$C$4:$O$81,4,FALSE)


    The dollar sign indicates the absolute reference for each part of a
    reference it prefixes. In the instance I have supplied the row and column
    are now fixed.

    Andy
    "Boethius1" <Boethius1.21uicm_1137613201.5943@excelforum-nospam.com> wrote
    in message news:Boethius1.21uicm_1137613201.5943@excelforum-nospam.com...
    >
    > I have the following equation, it is looking up in another worksheet and
    > pulling through information when it finds a match in second file from
    > cell d in first file.
    >
    > =VLOOKUP(D10,'C:\New Code Set
    > up\[gcodenewsetupcopy.xls]Sheet1'!C4:O81,4,FALSE)
    >
    > This is working but when i copy the equation down a few rows the
    > equation changes to this and it should still be looking at Sheet 1 C4
    > to O81.
    >
    > =VLOOKUP(D14,'C:\New Code Set
    > up\[gcodenewsetupcopy.xls]Sheet1'!C8:O85,4,FALSE)
    >
    > I know i need to fix part of the equation but don't know how or which
    > bit.
    >
    > Please help!
    >
    >
    > --
    > Boethius1
    >
    >
    > ------------------------------------------------------------------------
    > Boethius1's Profile:
    > http://www.excelforum.com/member.php...o&userid=30497
    > View this thread: http://www.excelforum.com/showthread...hreadid=502627
    >

+ 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