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

I have 8 columns and i need to look in column F1 thru F100 to find the 2nd
most recent date, and then pickup the corresponding number in column G from
the same row. I came up with the formula below but it doesn't seem to work.
Should it be an "IF" statement instead? OR am I missing something in my
formula

=VLOOKUP(MAXA('45'!$F$4:$F$100,2),'45'!$G$4:$G$100 ,7,'45'!$G$4:$G$100)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default VLOOKUP and LARGE

You need LARGE not MAXA
=MATCH(LARGE('45'!$F$4:$F$100,2),0) will tell you the relative row of the
second largest value in the range
=INDEX('45'!$G$4:$G$100,MATCH(LARGE('45'!$F$4:$F$1 00,2),0) )
will find the corresponding item in the G column
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Public Utility 555" wrote in
message ...
I have 8 columns and i need to look in column F1 thru F100 to find the 2nd
most recent date, and then pickup the corresponding number in column G
from
the same row. I came up with the formula below but it doesn't seem to
work.
Should it be an "IF" statement instead? OR am I missing something in my
formula

=VLOOKUP(MAXA('45'!$F$4:$F$100,2),'45'!$G$4:$G$100 ,7,'45'!$G$4:$G$100)



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default VLOOKUP and LARGE

I'm getting a "n/A" error, does it make a difference that I'm working with
dates 2/22/2006 (format) in column "F"?

"Bernard Liengme" wrote:

You need LARGE not MAXA
=MATCH(LARGE('45'!$F$4:$F$100,2),0) will tell you the relative row of the
second largest value in the range
=INDEX('45'!$G$4:$G$100,MATCH(LARGE('45'!$F$4:$F$1 00,2),0) )
will find the corresponding item in the G column
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Public Utility 555" wrote in
message ...
I have 8 columns and i need to look in column F1 thru F100 to find the 2nd
most recent date, and then pickup the corresponding number in column G
from
the same row. I came up with the formula below but it doesn't seem to
work.
Should it be an "IF" statement instead? OR am I missing something in my
formula

=VLOOKUP(MAXA('45'!$F$4:$F$100,2),'45'!$G$4:$G$100 ,7,'45'!$G$4:$G$100)




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default VLOOKUP and LARGE

Dates are stored as numbers like 39234, the format affects only the display.
Send me the file (or a sample of the data) to my private email (remove
TRUENORTH)
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email


"Public Utility 555" wrote in
message ...
I'm getting a "n/A" error, does it make a difference that I'm working with
dates 2/22/2006 (format) in column "F"?

"Bernard Liengme" wrote:

You need LARGE not MAXA
=MATCH(LARGE('45'!$F$4:$F$100,2),0) will tell you the relative row of the
second largest value in the range
=INDEX('45'!$G$4:$G$100,MATCH(LARGE('45'!$F$4:$F$1 00,2),0) )
will find the corresponding item in the G column
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Public Utility 555" wrote
in
message ...
I have 8 columns and i need to look in column F1 thru F100 to find the
2nd
most recent date, and then pickup the corresponding number in column G
from
the same row. I came up with the formula below but it doesn't seem to
work.
Should it be an "IF" statement instead? OR am I missing something in
my
formula

=VLOOKUP(MAXA('45'!$F$4:$F$100,2),'45'!$G$4:$G$100 ,7,'45'!$G$4:$G$100)






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
Nest vlookup within large function Mike S Excel Worksheet Functions 3 November 6th 06 08:13 PM
VLOOKUP in large Data sets of more than 16384 rows Bluewolf Excel Worksheet Functions 11 April 3rd 06 09:39 PM
vlookup on large text in cells Gus Excel Worksheet Functions 2 February 23rd 06 06:55 PM
Vlookup in large named range KemS Excel Worksheet Functions 3 November 23rd 05 06:14 PM
Match, Index, Vlookup, Large....Help Please [email protected] Excel Worksheet Functions 3 December 15th 04 01:38 PM


All times are GMT +1. The time now is 06:01 AM.

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"