Hi,
Trying to sum multiple columns from another sheet based on one criteria, which is determined by the "MID" function. What is wrong with the formula?
1) B2 (formatted as text)=9132456, 6753456
2) 6753456 appears in D:D (formatted as text as well). It has 100$ in col. P and -10$ in Q. Should return 90$ then but I get #value !
{=SUMPRODUCT(--('export'!D:D=MID('upload'!B2;10;7)*('export'!P:Q)))}
Tried without {} and -- but makes no difference.
Trying to sum multiple columns from another sheet based on one criteria, which is determined by the "MID" function. What is wrong with the formula?
1) B2 (formatted as text)=9132456, 6753456
2) 6753456 appears in D:D (formatted as text as well). It has 100$ in col. P and -10$ in Q. Should return 90$ then but I get #value !
{=SUMPRODUCT(--('export'!D:D=MID('upload'!B2;10;7)*('export'!P:Q)))}
Tried without {} and -- but makes no difference.