Link to home
Start Free TrialLog in
Avatar of Zack
ZackFlag for Australia

asked on

Excel CountIf Formatting Query Adding String to 'Value if False' Parameter

Heyas,

I have following excel formula:

=IF(COUNTIF($C30:$C7277,Sheet1!D2) =0,"No Match ", Sheet1!D2)

I would like to add a string to the parameter 'value if false' eg. =IF(COUNTIF($C30:$C7277,Sheet1!D2) =0,"No Match ", "Match" Sheet1!D2) This gives me a formatting error.

How would I go about correcting this?

Thank you.
Avatar of Anastasia D. Gavanas
Anastasia D. Gavanas
Flag of Greece image

Hi
You don't need th last parameter...try
=IF(COUNTIF($C30:$C7277,Sheet1!D2) =0,"No Match ", "Match")
Avatar of Zack

ASKER

Hi xtermie,

The idea is for me to show the word 'Match' and the matching value alongside it.

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Zack

ASKER

Thank you that fixed it.
a sorry did not understand that :)
You're welcome. Glad to help.
@xtermie
It happens with all of us. sometimes we misunderstood a simple ask. :)