Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to see if there is a way to check a lower row after vlookup has
found the string in the first column. Example: Year Event Length 1995 A 10 1995 B 56 1995 C 15 How would I search on another sheet to see if year "1995" had event "C", and if so, display the length. This is a long spreadsheet with many items in the first column and the second column isn't always in the number of entries. Thanks For Any Info. Edward |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
*Maybe* this:
=SUMPRODUCT(--(Year=1995),--(Event="C"),Length) -- Biff Microsoft Excel MVP "ETLahrs" wrote in message ... I am trying to see if there is a way to check a lower row after vlookup has found the string in the first column. Example: Year Event Length 1995 A 10 1995 B 56 1995 C 15 How would I search on another sheet to see if year "1995" had event "C", and if so, display the length. This is a long spreadsheet with many items in the first column and the second column isn't always in the number of entries. Thanks For Any Info. Edward |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way is to create a helper column that's =A2&B2, then Vlookup '1995C'.
Another way is to use Sumproduct, as in: =sumproduct(--(a2:a4=1995),--(b2:b4="C"),c2:c4) Both of these will work as long as the combination of A and B is unique. Regards, Fred. "ETLahrs" wrote in message ... I am trying to see if there is a way to check a lower row after vlookup has found the string in the first column. Example: Year Event Length 1995 A 10 1995 B 56 1995 C 15 How would I search on another sheet to see if year "1995" had event "C", and if so, display the length. This is a long spreadsheet with many items in the first column and the second column isn't always in the number of entries. Thanks For Any Info. Edward |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Checking the lower row of vlookup() | Excel Worksheet Functions | |||
Spell Checking with checking cell notes | Excel Discussion (Misc queries) | |||
VLookup - Error Checking | Excel Discussion (Misc queries) | |||
Using COUNTIF and VLOOKUP with upper and lower case letters | Excel Worksheet Functions | |||
need to select closest match using vlookup if it higher or lower | Excel Discussion (Misc queries) |