Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have this very long (probably can be shortened but it is the only way I
know to do it) formula that look and matches 2 criteria. Here is the formula: {=IF(INDEX(ST!$G$7:$G$1478,MATCH($A6&$G$2,ST!$E$7: $E$1478&ST!$D$7:$D$1478,0))<=1,"",INDEX(ST!$G$7:$G $1478,MATCH($A6&$G$2,ST!$E$7:$E$1478&ST!$D$7:$D$14 78,0)))} In a quick nutshell ST! is the name of the sheet. A6 is the name I am looking up and G2 is the month that it is matching. What I want it to do is to lookup the name and month to pull out the sales figure. If it does not find it, I want the result to be 0 or the word Zero instead of the #N/A that comes up. Or leave it blank by the "". The #N/A mess up all my totals on the sheet. Is there an easy (easier) formula to make this happen? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Index Formula Returning a 0 | Excel Discussion (Misc queries) | |||
Returning an array from the INDEX function | Excel Worksheet Functions | |||
Match/Index Returning #N/A | Excel Worksheet Functions | |||
HELP: Returning a value in an index | Excel Worksheet Functions | |||
Min formula not returning value from Index | Excel Worksheet Functions |