sum a row, but just the cells, where there is a number.

G

Guest

hi,

I want to calculate numbers in a row, but just, when there is a number in
the cell. if there is no number, don't count.

I tried:

=IF(H26:N26>=1,((H26:N26-H9:N9)*H6:N6),"")

Problem:
the cells, which are blank or rather 0 are not missed out.

thx for every help.
ruth
 
G

Guest

Are you trying to count the number of cells that have numbers in them or are
you tyring to sum that row? (your title vs what is in the message is a bit
unclear.)

Try,
COUNTIF
If you are trying to count the number of cells that have numbers.
 

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