Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default Vlookup top to bottom & not left to right

Hi all, is it possible to look up a number on the top of the sheet,
let's say a1, b1, c1,d1,etc.. and get the value in the last used cell of
the column or must one copy and past them left to right ??

thanks in advance,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Vlookup top to bottom & not left to right

Did you try HLookup?

-Mike

"Les Stout" wrote in message
...
Hi all, is it possible to look up a number on the top of the sheet,
let's say a1, b1, c1,d1,etc.. and get the value in the last used cell of
the column or must one copy and past them left to right ??

thanks in advance,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Vlookup top to bottom & not left to right

find the column

=Match("Price",A1:Z1,0)

once you have the column then

Use a number larger than any in the column (assume you are looking at
numbers)
match(999999999999,F1:F500,1)

so

Putting it all together:

=OFFSET($A$1,MATCH(999999,OFFSET($A$1,1,MATCH("Pri ce",$B$1:$Z$1),500,1),1),M
ATCH("Price",$B$1:$Z$1))

--
Regards,
Tom Ogilvy


"Les Stout" wrote in message
...
Hi all, is it possible to look up a number on the top of the sheet,
let's say a1, b1, c1,d1,etc.. and get the value in the last used cell of
the column or must one copy and past them left to right ??

thanks in advance,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default Vlookup top to bottom & not left to right

Thanks mike.

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default Vlookup top to bottom & not left to right

Thanks Tom, will try it in the morning.

best regards,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Vlookup top to bottom & not left to right

I guess you said a number in the first row rather than a text header, so
just replace the "Price" with a number

=OFFSET($A$1,MATCH(999999,OFFSET($A$1,1,MATCH(321, $B$1:$Z$1,0),500,1),1),M
ATCH(321,$B$1:$Z$1,0))

also in those two match formulas, I forgot to put the third argument in
which should be a zero (0). that would be true for text or number.

--
Regards,
Tom Ogilvy


"Tom Ogilvy" wrote in message
...
find the column

=Match("Price",A1:Z1,0)

once you have the column then

Use a number larger than any in the column (assume you are looking at
numbers)
match(999999999999,F1:F500,1)

so

Putting it all together:


=OFFSET($A$1,MATCH(999999,OFFSET($A$1,1,MATCH("Pri ce",$B$1:$Z$1),500,1),1),M
ATCH("Price",$B$1:$Z$1))

--
Regards,
Tom Ogilvy


"Les Stout" wrote in message
...
Hi all, is it possible to look up a number on the top of the sheet,
let's say a1, b1, c1,d1,etc.. and get the value in the last used cell of
the column or must one copy and past them left to right ??

thanks in advance,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***





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
Calculate in bottom left corner Lunechamps Excel Discussion (Misc queries) 1 May 28th 10 12:41 AM
Why don't my filter results always appear on the bottom left? pjfilter Excel Discussion (Misc queries) 1 January 21st 08 07:37 PM
Losing count on bottom left hand side when filtering - HELP!!! Elaine Excel Discussion (Misc queries) 3 July 14th 06 01:50 PM
No filter results in bottom left hand corner Natalie Excel Discussion (Misc queries) 1 October 24th 05 05:16 PM
Sorting in reverse (from right-to-left and from top-to-bottom) retman Excel Discussion (Misc queries) 6 April 1st 05 09:29 AM


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