Hi All,
I have been searching, reading, and trying to figure out how to make this formula:
=SUM((MONTH('SHEET1'!$K$2:$K$145)=$C$46)*(YEAR('SHEET1'!$K$2:$K$145)=$B$45)*('SHEET1'!$F$2:$F$145=B78))+SUM((MONTH('SHEET3'!$K$2:$K$145)=$C$46)*(YEAR('SHEET3'!$K$2:$K$145)=$B$45)*('SHEET3'!$F$2:$F$145=B78))
(which works) work the way I want which would (if it worked which it doesn't) would be:
=SUM((MONTH('SHEET1'!$K$2:$K$145)=$C$46)*(YEAR('SHEET1'!$K$2:$K$145)=$B$45)*('SHEET1'!$F$2:$F$145="*"&B78&"*"))+SUM((MONTH('SHEET3'!$K$2:$K$145)=$C$46)*(YEAR('SHEET3'!$K$2:$K$145)=$B$45)*('SHEET3'!$F$2:$F$145="*"&B78&"*"))
The difference is that the reference to:
B78
would be a wild card match versus an exact match
"*"&B78&"*"
Any recommendations to how I can make this work would be great.
I've tried concatenation inline, in an external cell, using SEARCH, using ISNUMBER(FIND(, and a few other things.
Note - B78 is a string, it is not a number.
Thanks,
Michael
Bookmarks