Link to home
Start Free TrialLog in
Avatar of samiam41
samiam41Flag for United States of America

asked on

Display DNP if value = 0, display Y if value is greater than 0

Hi Experts.  Expanding on a formula provided to me by an expert on here, I'd like to display "DNP" if the value of a cell is 0 (zero) or Y if the value is greater than 0 (zero).  Here is the formula provided to me.

=IF(G3>0,"Y","")

What would I use to for G3?  Thanks for the help!
Avatar of samiam41
samiam41
Flag of United States of America image

ASKER

I think I figured it out but would like confirmation.

=IF(G3>0,"Y","DNP")
ASKER CERTIFIED SOLUTION
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America 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
Thanks for the quick response and formula!  I appreciate it.