I would like to create a formula that calculates the number of cells in a row that contain a number greater than zero. I know the SUM function and the IF function but I don't know how to combine them to produce the result I want. Any suggestions?
I would like to create a formula that calculates the number of cells in a row that contain a number greater than zero. I know the SUM function and the IF function but I don't know how to combine them to produce the result I want. Any suggestions?
Use the COUNTIF function on the range with a condition of >0.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
Thank you.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks