#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default VLOOKUPS

Hi

Im trying to copy a VLOOKUP formula for the table being searched in ... down
all the cells in a column and want to auto enter the "$" prefixes to preserve
absolute cell refereneces.

Example

How do I automatically enter

=VLOOKUP(C2,Sheet1!C$2:D$5,2,FALSE)

instead of what normally comes up - which is

=VLOOKUP(C2,Sheet1!C2:D5,2,FALSE)

Has anyone any idea idea how to do this?


  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default VLOOKUPS

With this placed inside the formula bar:
=VLOOKUP(C2,Sheet1!C2:D5,2,FALSE)
select only this range part: C2:D5
then hit F4 to toggle through the 4 different states (the $/no $ signs)
Stop the F4 toggle when the desired state appears: C$2:D$5

voila? hit the YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Marianne" wrote:
Im trying to copy a VLOOKUP formula for the table being searched in ... down
all the cells in a column and want to auto enter the "$" prefixes to preserve
absolute cell refereneces.

Example

How do I automatically enter

=VLOOKUP(C2,Sheet1!C$2:D$5,2,FALSE)

instead of what normally comes up - which is

=VLOOKUP(C2,Sheet1!C2:D5,2,FALSE)

Has anyone any idea idea how to do this?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default VLOOKUPS

On Sat, 1 Aug 2009 04:50:01 -0700, Marianne
wrote:

Hi

Im trying to copy a VLOOKUP formula for the table being searched in ... down
all the cells in a column and want to auto enter the "$" prefixes to preserve
absolute cell refereneces.

Example

How do I automatically enter

=VLOOKUP(C2,Sheet1!C$2:D$5,2,FALSE)

instead of what normally comes up - which is

=VLOOKUP(C2,Sheet1!C2:D5,2,FALSE)

Has anyone any idea idea how to do this?


What do you mean by "comes up"?
Do you write the formula manually?
If you select the C2:D5 part of the formula and then hit the F4
button, the references change to absolute. You may hit F4 several
times and see how it loops trough the following four combinations
$C$2:$C$5
C$2:C$5
$C2:$C5
C2:C5
If the C2:C5 comes up by you pointing at that range in the spreadsheet
while editing the formula, just hit the F4 before proceeding with the
editing.

Hope this helps / Lars-Åke
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default VLOOKUPS

Use a named range instead of cell references

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Marianne" wrote in message
...
Hi

Im trying to copy a VLOOKUP formula for the table being searched in ...
down
all the cells in a column and want to auto enter the "$" prefixes to
preserve
absolute cell refereneces.

Example

How do I automatically enter

=VLOOKUP(C2,Sheet1!C$2:D$5,2,FALSE)

instead of what normally comes up - which is

=VLOOKUP(C2,Sheet1!C2:D5,2,FALSE)

Has anyone any idea idea how to do this?



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
vlookups lfrick Excel Worksheet Functions 3 July 17th 09 10:03 PM
Dependent vlookups - nested vlookups (maybe) Maniv Excel Worksheet Functions 1 April 22nd 08 07:40 PM
Vlookups Office Junior[_2_] Excel Discussion (Misc queries) 1 March 30th 08 08:08 PM
Vlookups UlvaZell Excel Worksheet Functions 4 August 30th 07 09:00 PM
Vlookups Shaya M Excel Discussion (Misc queries) 3 May 27th 05 07:17 AM


All times are GMT +1. The time now is 11:08 AM.

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

About Us

"It's about Microsoft Excel"