sum of cells

K

Khalil handal

Hi,
In Cell AB10 I need a formula to sum the following cells inthe same line.
The cells are:
D, F, H, J, L, N, P, R, T, V, X, Z
Is there a way to do this other than using: =d10+f10+h10........+z10
(sum of every other cell!!)
 
B

Bob Phillips

=SUMPRODUCT(--(MOD(COLUMN(D2:Z2),2)=0),D2:Z2)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
K

Khalil handal

Thanks. It worked fine.

Bob Phillips said:
=SUMPRODUCT(--(MOD(COLUMN(D2:Z2),2)=0),D2:Z2)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)
 

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