Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Need to add every third value in a row of data

Hi,

I need to add every third value in a row of data and I do not know how.

Thank you,

Benedict
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Need to add every third value in a row of data

Try this:

=SUMPRODUCT(--(MOD(ROW(A1:A100),3)=0),A1:A100)

Assumes you are trying to add from column A - adjust to suit. It will
add rows 3, 6, 9, 12 etc.

Hope this helps.

Pete

On Sep 19, 3:02*pm, baurian wrote:
Hi,

I need to add every third value in a row of data and I do not know how.

Thank you,

Benedict


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Need to add every third value in a row of data

Just noticed you said the data is in a row. Change the formula to
this:

=SUMPRODUCT(--(MOD(COLUMN(A2:AA2),3)=0),A2:AA2)

This looks at row 2 and adds every third column from C onwards.

Hope this helps.

Pete

On Sep 19, 3:16*pm, Pete_UK wrote:
Try this:

=SUMPRODUCT(--(MOD(ROW(A1:A100),3)=0),A1:A100)

Assumes you are trying to add from column A - adjust to suit. It will
add rows 3, 6, 9, 12 etc.

Hope this helps.

Pete

On Sep 19, 3:02*pm, baurian wrote:



Hi,


I need to add every third value in a row of data and I do not know how.


Thank you,


Benedict- Hide quoted text -


- Show quoted text -


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Need to add every third value in a row of data

Thank you, Pete. It works with numbers; it does not seem to work with (date
time) in the cell.

Benedict

"Pete_UK" wrote:

Just noticed you said the data is in a row. Change the formula to
this:

=SUMPRODUCT(--(MOD(COLUMN(A2:AA2),3)=0),A2:AA2)

This looks at row 2 and adds every third column from C onwards.

Hope this helps.

Pete

On Sep 19, 3:16 pm, Pete_UK wrote:
Try this:

=SUMPRODUCT(--(MOD(ROW(A1:A100),3)=0),A1:A100)

Assumes you are trying to add from column A - adjust to suit. It will
add rows 3, 6, 9, 12 etc.

Hope this helps.

Pete

On Sep 19, 3:02 pm, baurian wrote:



Hi,


I need to add every third value in a row of data and I do not know how.


Thank you,


Benedict- Hide quoted text -


- Show quoted text -



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Need to add every third value in a row of data

If they are Excel data/times they are numbers, maybe you only need to format
it the right way like [h]:mm etc or
maybe they are text but look like numerical dates times?

--


Regards,


Peo Sjoblom

"baurian" wrote in message
...
Thank you, Pete. It works with numbers; it does not seem to work with
(date
time) in the cell.

Benedict

"Pete_UK" wrote:

Just noticed you said the data is in a row. Change the formula to
this:

=SUMPRODUCT(--(MOD(COLUMN(A2:AA2),3)=0),A2:AA2)

This looks at row 2 and adds every third column from C onwards.

Hope this helps.

Pete

On Sep 19, 3:16 pm, Pete_UK wrote:
Try this:

=SUMPRODUCT(--(MOD(ROW(A1:A100),3)=0),A1:A100)

Assumes you are trying to add from column A - adjust to suit. It will
add rows 3, 6, 9, 12 etc.

Hope this helps.

Pete

On Sep 19, 3:02 pm, baurian wrote:



Hi,

I need to add every third value in a row of data and I do not know
how.

Thank you,

Benedict- Hide quoted text -

- Show quoted text -





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
Increase Your Business By Data Conversion, Data Format and Data EntryServices in India Data Entry India Excel Worksheet Functions 1 March 31st 08 12:51 PM
Save 20% On Data Conversion and Data Formats Services by Data EntryIndia Data Entry India Excel Discussion (Misc queries) 0 March 31st 08 12:00 PM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing [email protected] Excel Discussion (Misc queries) 0 March 20th 08 12:45 PM
MULTIPLE DATA - How to insert new data into existing data.... Rodorodo Excel Discussion (Misc queries) 0 December 15th 06 11:50 PM


All times are GMT +1. The time now is 01:22 AM.

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

About Us

"It's about Microsoft Excel"