Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If I have a list:
A 10 B 3 C 5 A 8 D 6 How can I get VLookup to return to value associated with the last occurance of A instead of the first (i.e the value 8)? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way, array-entered* in say, C1:
=INDEX($B$1:$B$10,MATCH(MAX(IF($A$1:$A$10="A",ROW( $A$1:$A$10))),IF($A$1:$A$10="A",ROW($A$1:$A$10)),0 )) *press CTRL+SHIFT+ENTER to confirm the formula Adapt the ranges to suit -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Steve" wrote: If I have a list: A 10 B 3 C 5 A 8 D 6 How can I get VLookup to return to value associated with the last occurance of A instead of the first (i.e the value 8)? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Max wrote:
One way, array-entered* in say, C1: =INDEX($B$1:$B$10,MATCH(MAX(IF($A$1:$A$10="A",ROW( $A$1:$A$10))),IF($A$1:$A$10="A",ROW($A$1:$A$10)),0 )) *press CTRL+SHIFT+ENTER to confirm the formula Adapt the ranges to suit Assumin that the list in A1:B5, if the functions in the freelydownloadable file at http://home.pacbell.net/beban are available to your workbook =INDEX(VLookups("A",a1:b5,2),2) Alan Beban |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Another one:
=LOOKUP(2,1/(A1:A5="a"),B1:B5) Steve wrote: If I have a list: A 10 B 3 C 5 A 8 D 6 How can I get VLookup to return to value associated with the last occurance of A instead of the first (i.e the value 8)? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Vlookup to Return a Range of Data | Excel Discussion (Misc queries) | |||
Vlookup to Return a Range of Data | Excel Discussion (Misc queries) | |||
How do I return the row for a value I VLOOKUP? | Excel Worksheet Functions | |||
How do I sum a range which includes the "#N/A" VLOOKUP return valu | Excel Worksheet Functions | |||
Vlookup - return row no. instead of value | Excel Discussion (Misc queries) |