J
Jon Dow
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$1478,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?
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$1478,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?