View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default SUM alternate columns

Try this

=SUM(IF(MOD(B3:AL3,2)=1,B3:AL3))

This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.

Mike

"Danish Ayub" wrote:

I want to SUM values in alternate colums B3 D3 F3 H3 J3 L3 N3 P3 till AL3
using some formula which automaticaly identifies alternate colums and add the
values.

cannot use " =B3+D3+F3+H3 "