Forum Discussion
Bailey100
Jun 21, 2019Brass Contributor
Why doesn't my formula work?
Hi, see the attached document. I've used a formula:
=IF(ISNUMBER(SEARCH("Jan",C3)),D3,0)
for cell G3, why is'nt this picking up that there is 'Jan' in C3 and thus producing the value in D3?
Thanks, Bailey100
In C3 you have a number, it's only formatting on the top. Use
=IF(TEXT(C3,"mmm")="Jan",D3,0)
3 Replies
- TwifooSilver Contributor
Given that the expected result is a number, you may also use this Boolean formula:
=(TEXT($C3,"mmm")=G$2)*$D3
- JKPieterseSilver ContributorSEARCH is case sensitive, is works for me if I use FIND like so:
=IF(ISERROR(FIND($G2,C$3)),0,$D3) - SergeiBaklanDiamond Contributor
In C3 you have a number, it's only formatting on the top. Use
=IF(TEXT(C3,"mmm")="Jan",D3,0)