#1   Report Post  
Posted to microsoft.public.excel.misc
RagDyeR
 
Posts: n/a
Default Vlookup help

But it's only 3 as long as the datalist starts in Column A.
If it starts in Column B, the C becomes 2!

How would you want to resolve that?

If you're always starting in Column A, and you enjoy typing, use the column
label itself instead of the column index number, like:

=VLOOKUP(E1,A1:D17,COLUMN(C:C),0)
OR
=VLOOKUP(E1,A1:D17,COLUMN(C1),0)

Which return the exact same results as:

=VLOOKUP(E1,A1:D17,3,0)

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"shelly2" wrote in
message ...

I use the Vlookup a lot and sometimes in some very large spreadsheets.
As you can imagine I spend a lot of time counting columns to find the
column index number. Is there a formula I can use that will do that
counting for me? For example if my lookup value is in column A and my
return value is in column C the answer for this formula should be 3.

Thank you,
Shelly


--
shelly2
------------------------------------------------------------------------
shelly2's Profile:
http://www.excelforum.com/member.php...o&userid=29852
View this thread: http://www.excelforum.com/showthread...hreadid=495522


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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 04:38 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"