Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Using VLOOKUP after finding LARGE value

This string returns #N/A:

=VLOOKUP(LARGE('Price List'!B3:B44,1),'Price List'!$C$3:$H$44,6,FALSE)

First need to identify the LARGEST value(in this case the most recent
date) then bring in corresponding data such as the next price-breaks.

To find the 2nd most recent date and its price: the next line, would
read:

=VLOOKUP(LARGE('Price List'!B3:B44,2),'Price List'!$C$3:$H$44,6,FALSE)

Its apparent I cannot do this in a single cell.

TIA for any ideas.

Pierre

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Using VLOOKUP after finding LARGE value

Hi Pierre

Isn't the problem that you should be using the same column for both
functions??

=VLOOKUP(LARGE('Price List'!$C$3:$C$44,1),'Price
List'!$C$3:$H$44,6,FALSE)

If you wanted the formula to be copied down and automatically
incremented to the next largest value, you could use

=VLOOKUP(LARGE('Price List'!$C$3:$C$44,ROW(1:1)),'Price
List'!$C$3:$H$44,6,FALSE)


--
Regards

Roger Govier


"Pierre" wrote in message
oups.com...
This string returns #N/A:

=VLOOKUP(LARGE('Price List'!B3:B44,1),'Price List'!$C$3:$H$44,6,FALSE)

First need to identify the LARGEST value(in this case the most recent
date) then bring in corresponding data such as the next price-breaks.

To find the 2nd most recent date and its price: the next line, would
read:

=VLOOKUP(LARGE('Price List'!B3:B44,2),'Price List'!$C$3:$H$44,6,FALSE)

Its apparent I cannot do this in a single cell.

TIA for any ideas.

Pierre



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Using VLOOKUP after finding LARGE value


Roger Govier wrote:
Hi Pierre

Isn't the problem that you should be using the same column for both
functions??

=VLOOKUP(LARGE('Price List'!$C$3:$C$44,1),'Price
List'!$C$3:$H$44,6,FALSE)

If you wanted the formula to be copied down and automatically
incremented to the next largest value, you could use

=VLOOKUP(LARGE('Price List'!$C$3:$C$44,ROW(1:1)),'Price
List'!$C$3:$H$44,6,FALSE)


--
Regards

Roger Govier



Roger, I'm using the LARGE function in column C to identify the proper
row, and the resulting answer to retrieve some data 6 rows over
(beginning in the same column), or am I missing something.

Thanks for responding.
Pierre

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Using VLOOKUP after finding LARGE value

Hi Pierre

Because you said you were getting #N/A errors, I just wondered if you
were inadvertently using column B for your Large function, but column C
to try to find the result of the large function.
If column B and Column C contain dates, do they both have the same date
values?
Maybe, the value of the largest date in column B, doesn't exist in
column C.

Alternatively, of course, the value may be being found in column C, but
there is no associated value in the same row in column H.

My sue of the ROW() function, to change form largest to second largest
etc as you copy down the column will work, providing you do have data in
the relevant columns.

--
Regards

Roger Govier


"Pierre" wrote in message
ups.com...

Roger Govier wrote:
Hi Pierre

Isn't the problem that you should be using the same column for both
functions??

=VLOOKUP(LARGE('Price List'!$C$3:$C$44,1),'Price
List'!$C$3:$H$44,6,FALSE)

If you wanted the formula to be copied down and automatically
incremented to the next largest value, you could use

=VLOOKUP(LARGE('Price List'!$C$3:$C$44,ROW(1:1)),'Price
List'!$C$3:$H$44,6,FALSE)


--
Regards

Roger Govier



Roger, I'm using the LARGE function in column C to identify the proper
row, and the resulting answer to retrieve some data 6 rows over
(beginning in the same column), or am I missing something.

Thanks for responding.
Pierre



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Using VLOOKUP after finding LARGE value


Pierre wrote:
Roger Govier wrote:



Roger, thanks for the reply. I took a closer look. Works great!

Pierre



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Using VLOOKUP after finding LARGE value

You're welcome. Thanks for the feedback

--
Regards

Roger Govier


"Pierre" wrote in message
oups.com...

Pierre wrote:
Roger Govier wrote:



Roger, thanks for the reply. I took a closer look. Works great!

Pierre



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
VLookup a Vlookup adamb2000 Excel Worksheet Functions 4 June 28th 06 10:54 PM
Vlookup gives wrong answers when used in large data. Pls advise? Dave Excel Worksheet Functions 4 March 21st 06 02:14 PM
vlookup & combo box charts phil clifford Charts and Charting in Excel 1 March 16th 06 09:28 AM
Finding LARGE value within range of lookup table WPA Excel Discussion (Misc queries) 2 June 13th 05 07:41 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 07:20 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"