#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default SUMIF function

I am trying to use the sumif function but instead of a range of cells to
add(based on a sumif "criteria") I want to add only specific cells within a
range(i.e. a4,a14,a24,a34).
is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SUMIF function

If you only have those 4 cells:

=SUM(A4,A14,A24,A34)

But I'm "guessing" that you have many more than those 4 cells. So, try this:

=SUMPRODUCT(--(MOD(ROW(A4:A34)-MIN(ROW(A4:A34))+1,10)=1),A4:A34)

--
Biff
Microsoft Excel MVP


"eric" wrote in message
...
I am trying to use the sumif function but instead of a range of cells to
add(based on a sumif "criteria") I want to add only specific cells within
a
range(i.e. a4,a14,a24,a34).
is this possible?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default SUMIF function

THanks for the help. Could you answer another ? How do I add a cell's
information to a fomula only when it becomes relevant(i.e. the cell next to
it has some value posted to it).
In my spreadsheet I have 5 weeks of info. I want to have a running % of
points accumulated throughout the 5 weeks but only want the each weeks
possible total points to be added when that week has been completed.
Does that make sense?

"T. Valko" wrote:

If you only have those 4 cells:

=SUM(A4,A14,A24,A34)

But I'm "guessing" that you have many more than those 4 cells. So, try this:

=SUMPRODUCT(--(MOD(ROW(A4:A34)-MIN(ROW(A4:A34))+1,10)=1),A4:A34)

--
Biff
Microsoft Excel MVP


"eric" wrote in message
...
I am trying to use the sumif function but instead of a range of cells to
add(based on a sumif "criteria") I want to add only specific cells within
a
range(i.e. a4,a14,a24,a34).
is this possible?




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

See replies to your other post.

--
Biff
Microsoft Excel MVP


"eric" wrote in message
...
THanks for the help. Could you answer another ? How do I add a cell's
information to a fomula only when it becomes relevant(i.e. the cell next
to
it has some value posted to it).
In my spreadsheet I have 5 weeks of info. I want to have a running % of
points accumulated throughout the 5 weeks but only want the each weeks
possible total points to be added when that week has been completed.
Does that make sense?

"T. Valko" wrote:

If you only have those 4 cells:

=SUM(A4,A14,A24,A34)

But I'm "guessing" that you have many more than those 4 cells. So, try
this:

=SUMPRODUCT(--(MOD(ROW(A4:A34)-MIN(ROW(A4:A34))+1,10)=1),A4:A34)

--
Biff
Microsoft Excel MVP


"eric" wrote in message
...
I am trying to use the sumif function but instead of a range of cells to
add(based on a sumif "criteria") I want to add only specific cells
within
a
range(i.e. a4,a14,a24,a34).
is this possible?






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
How to nest a left function within a sumif function? LisaK Excel Worksheet Functions 2 April 23rd 23 11:46 AM
How do I use the TODAY function with the SUMIF function? Lisa B. Excel Worksheet Functions 2 September 30th 05 08:51 PM
SUMIF Function Inside SUMPRODUCT Function Abdul Waheed Excel Worksheet Functions 17 September 19th 05 04:24 PM
Can SUMIF function include AND function ShaneS Excel Worksheet Functions 1 May 17th 05 03:24 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 12:05 PM.

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"