Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() A small modification. The only advantage to using this instead of the VLOOKUP is if you have multiple lookup values, you can drag this formula down the list and not have to change the lookup criteria manually for each lookup value. It is also not case sensitive. Use FIND instead of SEARCH if case is important. =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,$E$1:$E$4))),--($F$1:$F$4)) A1 is your lookup value. E is where the value is located and F is your return value if TRUE. Again, this only works if your lookup values only appear once in your range. HTH Steve -- SteveG ------------------------------------------------------------------------ SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571 View this thread: http://www.excelforum.com/showthread...hreadid=496637 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Text string and sum | Excel Worksheet Functions | |||
Remove last character of text string | Excel Worksheet Functions | |||
dynamic cell reference within a text string | Excel Worksheet Functions | |||
Extracting from a text string | Excel Worksheet Functions | |||
Formating a text string? | Excel Discussion (Misc queries) |