#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Excel function

How I can SUM every other Column in the same row?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Excel function

How I can SUM every other Column in the same row?

Starting from what cell and ending at what cell?

A1:J1 ?
D15:IV15 ?
X101:DD101 ?

--
Biff
Microsoft Excel MVP


"bfrad" wrote in message
...
How I can SUM every other Column in the same row?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Excel function

In my case it's stsrts from J6 the next one is L6, N6 and so on for the next
approx. 100 column approx. to HF6

"T. Valko" wrote:

How I can SUM every other Column in the same row?


Starting from what cell and ending at what cell?

A1:J1 ?
D15:IV15 ?
X101:DD101 ?

--
Biff
Microsoft Excel MVP


"bfrad" wrote in message
...
How I can SUM every other Column in the same row?



.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Excel function

Try this:

=SUMPRODUCT(--(MOD(COLUMN(J6:HF6)-COLUMN(J6),2)=0),J6:HF6)

--
Biff
Microsoft Excel MVP


"bfrad" wrote in message
...
In my case it's stsrts from J6 the next one is L6, N6 and so on for the
next
approx. 100 column approx. to HF6

"T. Valko" wrote:

How I can SUM every other Column in the same row?


Starting from what cell and ending at what cell?

A1:J1 ?
D15:IV15 ?
X101:DD101 ?

--
Biff
Microsoft Excel MVP


"bfrad" wrote in message
...
How I can SUM every other Column in the same row?



.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Excel function

Is this what you are looking for

To sum the odd columns A,C,E....in the range A1:J1 try
=SUMPRODUCT((MOD(COLUMN(A1:J1),2)=1)*A1:J1)

and to sum the even columns in the range B,D,F ....
=SUMPRODUCT((MOD(COLUMN(A1:J1),2)=0)*A1:J1)

If this post helps click Yes
---------------
Jacob Skaria


"bfrad" wrote:

How I can SUM every other Column in the same row?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Excel function

Thank you very much. It is working great.

"Jacob Skaria" wrote:

Is this what you are looking for

To sum the odd columns A,C,E....in the range A1:J1 try
=SUMPRODUCT((MOD(COLUMN(A1:J1),2)=1)*A1:J1)

and to sum the even columns in the range B,D,F ....
=SUMPRODUCT((MOD(COLUMN(A1:J1),2)=0)*A1:J1)

If this post helps click Yes
---------------
Jacob Skaria


"bfrad" wrote:

How I can SUM every other Column in the same row?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy Excel Function from a Cell Through a Function Sheikh Saadi Excel Worksheet Functions 0 October 15th 09 04:22 PM
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
Help to build a Look Up Function or What Ever Function Excel 2002 Carlo Excel Worksheet Functions 6 April 3rd 08 07:39 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
challenge! javascript function into excel function Kamila Excel Worksheet Functions 2 February 19th 07 06:35 AM


All times are GMT +1. The time now is 01:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"