#1   Report Post  
Posted to microsoft.public.excel.misc
Boethius1
 
Posts: n/a
Default 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!


--
Boethius1


------------------------------------------------------------------------
Boethius1's Profile: http://www.excelforum.com/member.php...o&userid=30497
View this thread: http://www.excelforum.com/showthread...hreadid=502627

  #2   Report Post  
Posted to microsoft.public.excel.misc
Andrew Houghton
 
Posts: n/a
Default 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" wrote
in message ...

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   Report Post  
Posted to microsoft.public.excel.misc
Boethius1
 
Posts: n/a
Default Fixing a formula


Thanks that worked a treat.

---------------------:)


Andrew Houghton Wrote:
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"
wrote
in message
...

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



--
Boethius1


------------------------------------------------------------------------
Boethius1's Profile: http://www.excelforum.com/member.php...o&userid=30497
View this thread: http://www.excelforum.com/showthread...hreadid=502627

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Help with fixing formula Pat Excel Worksheet Functions 4 December 21st 04 11:38 AM


All times are GMT +1. The time now is 10:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"