PC Review


Reply
Thread Tools Rate Thread

vlookup and max ?

 
 
=?Utf-8?B?amxpbmRuZXI=?=
Guest
Posts: n/a
 
      10th Aug 2006
I want to get the max # from a worksheet with multiple rows of my key value.

WM-DV028 Windows WDW 25 3/29/2006
WM-DV028 Windows WDW 25 3/30/2006
WM-DV028 Windows WDW 8 3/31/2006
WM-DV028 Windows WDW 3 4/3/2006
WM-DV028 Windows WDW 4 4/4/2006
WM-DV028 Windows WDW 7 4/5/2006
WM-DV028 Windows WDW 24 4/6/2006
WM-DV028 Windows WDW 32 4/7/2006
WM-DV028 Windows WDW 8 4/8/2006

this worksheet has >40 lines this is just a sample.
Is there a way to combine vlookup with max?


--
jlindner
 
Reply With Quote
 
 
 
 
Mark
Guest
Posts: n/a
 
      11th Aug 2006

jlindner wrote:
> I want to get the max # from a worksheet with multiple rows of my key value.
>
> WM-DV028 Windows WDW 25 3/29/2006
> WM-DV028 Windows WDW 25 3/30/2006
> WM-DV028 Windows WDW 8 3/31/2006
> WM-DV028 Windows WDW 3 4/3/2006
> WM-DV028 Windows WDW 4 4/4/2006
> WM-DV028 Windows WDW 7 4/5/2006
> WM-DV028 Windows WDW 24 4/6/2006
> WM-DV028 Windows WDW 32 4/7/2006
> WM-DV028 Windows WDW 8 4/8/2006
>
> this worksheet has >40 lines this is just a sample.
> Is there a way to combine vlookup with max?
>
>
> --
> jlindner


What maximum value are you looking for?
After you get that value, what are you looking to pull from the table?
You need to be more specific.

 
Reply With Quote
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      11th Aug 2006
Just hazarding some guesses here ..
(I agree with Mark that you should be more specific)

Assuming the data posted is in cols A to E from row1 down,
where col D is the key col = numbers: 25,25,8,3,4 etc

Put in say, G1:
=INDEX(A:A,MATCH(MAX($D:$D),$D:$D,0))
Copy G1 to K1 to return the source line with the max number in col D
Format K1 as date

Should there be any tied maximum numbers in col D, then only the 1st line
(ie the higher up one) gets returned into G1:K1
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"jlindner" wrote:
> I want to get the max # from a worksheet with multiple rows of my key value.
>
> WM-DV028 Windows WDW 25 3/29/2006
> WM-DV028 Windows WDW 25 3/30/2006
> WM-DV028 Windows WDW 8 3/31/2006
> WM-DV028 Windows WDW 3 4/3/2006
> WM-DV028 Windows WDW 4 4/4/2006
> WM-DV028 Windows WDW 7 4/5/2006
> WM-DV028 Windows WDW 24 4/6/2006
> WM-DV028 Windows WDW 32 4/7/2006
> WM-DV028 Windows WDW 8 4/8/2006
>
> this worksheet has >40 lines this is just a sample.
> Is there a way to combine vlookup with max?
>
>
> --
> jlindner

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup problem - unable to get the vlookup property Fred Microsoft Excel Programming 2 22nd Aug 2008 06:23 PM
using a vlookup to enter text into rows beneath the vlookup cell Roger on Excel Microsoft Excel Programming 1 29th Nov 2007 01:09 PM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Microsoft Excel Misc 12 15th Nov 2006 12:36 AM
Vlookup info being used without vlookup table attached? Microsoft Excel Worksheet Functions 0 25th Jan 2005 11:43 AM
Insert Vlookup into table_array of Vlookup with named range =?Utf-8?B?RGVuaXNl?= Microsoft Excel Worksheet Functions 1 24th Jan 2005 11:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:37 PM.