Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
J Shamp
 
Posts: n/a
Default NEED A FORMULA THAT ADDS EVEN OR ODD ROW NUMBERS

I am looking for a formula that will sum even or odd row numbers
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default NEED A FORMULA THAT ADDS EVEN OR ODD ROW NUMBERS

For even rows:
=SUMPRODUCT(--(MOD(ROW(A1:A20),2)=0),A1:A20)

For odd rows:
=SUMPRODUCT(--(MOD(ROW(A1:A20),2)=1),A1:A20)



"J Shamp" wrote:

I am looking for a formula that will sum even or odd row numbers

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
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 3 January 19th 06 09:52 AM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 1 January 9th 06 01:23 PM
need a conditional formula to generate numbers divisible by 4 between a given starting no. & end No. ramana Excel Worksheet Functions 5 October 21st 05 07:39 AM
Formula that only adds numbers that meet specific criteria Elizabeth Excel Discussion (Misc queries) 10 October 12th 05 11:38 PM
I PUT A FORMULA IN A CELL BUT I DON'T GET NUMBERS BUT THE FORMULA lady one Excel Worksheet Functions 3 September 24th 05 01:46 PM


All times are GMT +1. The time now is 09:42 AM.

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"