Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default Vlookup (pickup the last row...

Wonder if anyone can help me out.

As follow is the formula I use for my worksheet.
=VLOOKUP(D3,'Class'!$A$2:$J$500,3,FALSE)

It returns the value in third column of the Class sheet.. The problem is
sometimes there are two or three or more values for the individual on the
third column of the Class sheet, and the formula always pick up the first
value for the individual.

My question is how do I change the formula so it will pick up the last value
not the first one.

Thanks,
Aline
--
Aline
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Vlookup (pickup the last row...

Try

=LOOKUP(2,1/(Class!A2:A500=D3),Class!J2:J500)

Mike

"Aline" wrote:

Wonder if anyone can help me out.

As follow is the formula I use for my worksheet.
=VLOOKUP(D3,'Class'!$A$2:$J$500,3,FALSE)

It returns the value in third column of the Class sheet.. The problem is
sometimes there are two or three or more values for the individual on the
third column of the Class sheet, and the formula always pick up the first
value for the individual.

My question is how do I change the formula so it will pick up the last value
not the first one.

Thanks,
Aline
--
Aline

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Vlookup (pickup the last row...

I misread your post try this instead

=LOOKUP(2,1/(Class!A2:A500=D3),Class!C2:C500)

Mike

"Mike H" wrote:

Try

=LOOKUP(2,1/(Class!A2:A500=D3),Class!J2:J500)

Mike

"Aline" wrote:

Wonder if anyone can help me out.

As follow is the formula I use for my worksheet.
=VLOOKUP(D3,'Class'!$A$2:$J$500,3,FALSE)

It returns the value in third column of the Class sheet.. The problem is
sometimes there are two or three or more values for the individual on the
third column of the Class sheet, and the formula always pick up the first
value for the individual.

My question is how do I change the formula so it will pick up the last value
not the first one.

Thanks,
Aline
--
Aline

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 in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM
pickup cell value according another cell value Maileen Excel Worksheet Functions 2 December 7th 04 07:06 PM


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