Multiple If Function

D

dvya

Im trying to create a report using multiple IF criteria. My formula is
working however how can i get the field to be blank if it doesnt meet the
criteria?

currently if it matches criteria in column C and not column D it is blank
but if it doesnt match column C it sais "FALSE".

=IF(AND(ISNUMBER(SEARCH($F$1,$D4))),IF($C4=F$2,$B4),"")

Thank you
 
T

T. Valko

Not sure why you're using AND. It's not doing anything.

Try it like this:

=IF(COUNT(SEARCH($F$1,$D4)),IF($C4=F$2,$B4,""),"")
 
M

Mike H

Hi,

Your AND is superfluous, your not 'anding' anything and to eliminate false
add another NULL false condition

=IF(ISNUMBER(SEARCH($F$1,$D4)),IF($C4=F$2,$B4,""),"")

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top