I am trying to write a formula that will return a value if a certain number is in that cell.
Example. If cell A2 adds to "0" then show value as "Even". If A2 adds to anything else then show the value as whatever it is.
Thanks
I am trying to write a formula that will return a value if a certain number is in that cell.
Example. If cell A2 adds to "0" then show value as "Even". If A2 adds to anything else then show the value as whatever it is.
Thanks
Last edited by Bryan Banker; 07-19-2012 at 04:44 PM. Reason: Poor Title
Please check out the Forum Rules at the top of the screen, and change your title, before the mods force you to.
Pete
Done Pete, I am new here. Thanks!
Okay, you seem to be suggesting that you want A2 to display the word "Even" when the result of a formula in that cell is zero (you say "adds to zero"), so what is in A2? You could have something like:
=IF(your_formula=0,"Even",your_formula)
Hope this helps.
Pete
Perfect. Thanks for the help!
You're welcome, Bryan - thanks for feeding back.
Pete
Clarification please. You want to enter a string of numbers into cell A2 and then have Excel give you a SUM or "Even" in Cell A2? or am I reading this wrong?
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
Sort of. In cell A2 it displays a number that was added from a string of numbers. If that number adds up to "0" then I want to display the word "Even". If the numbers is cell A2 add up to 10 then I just wan the formula to display that number.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks