#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 46
Default sumif

Good day,
I would like to add up some figures with a formula.It must first lookup in
A1:A10 for 11 and add up all the figures in D1:D10, and also lookup in A1:A10
for 10 and add up all the figures in D1:D10

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default sumif

Your description is very vague. Would you please state more clearly what you
are trying to do? Are you trying to add the cells in D1:D10 where the same
row has a 10 or an 11 in A1:A10?

"ekkeindoha" wrote:

Good day,
I would like to add up some figures with a formula.It must first lookup in
A1:A10 for 11 and add up all the figures in D1:D10, and also lookup in A1:A10
for 10 and add up all the figures in D1:D10

Thanks

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

I've got it like this
A B
30 2
11 3
10 4
11 5
13 6
10 7
What I would like to add up are the figures in B only if it shows 10 or 11
in A.
Hope this explain's better.
Thanks.



"Duke Carey" wrote:

Your description is very vague. Would you please state more clearly what you
are trying to do? Are you trying to add the cells in D1:D10 where the same
row has a 10 or an 11 in A1:A10?

"ekkeindoha" wrote:

Good day,
I would like to add up some figures with a formula.It must first lookup in
A1:A10 for 11 and add up all the figures in D1:D10, and also lookup in A1:A10
for 10 and add up all the figures in D1:D10

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default sumif

=SUMPRODUCT((A1:A10={10,11})*(D1:D10))

"ekkeindoha" wrote:

I've got it like this
A B
30 2
11 3
10 4
11 5
13 6
10 7
What I would like to add up are the figures in B only if it shows 10 or 11
in A.
Hope this explain's better.
Thanks.



"Duke Carey" wrote:

Your description is very vague. Would you please state more clearly what you
are trying to do? Are you trying to add the cells in D1:D10 where the same
row has a 10 or an 11 in A1:A10?

"ekkeindoha" wrote:

Good day,
I would like to add up some figures with a formula.It must first lookup in
A1:A10 for 11 and add up all the figures in D1:D10, and also lookup in A1:A10
for 10 and add up all the figures in D1:D10

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default sumif

I've got it like this
A B
30 2
11 3
10 4
11 5
13 6
10 7
What I would like to add up are the figures in B only if it shows
10 or 11 in A.


This will do that..

=SUMPRODUCT((A1:A1000={10,11})*B1:B1000)

Adjust the large end of the ranges to suit your data.

Rick


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 733
Default sumif

ekkeindoha wrote...
I've got it like this
A B
30 2
11 3
10 4
11 5
13 6
10 7
What I would like to add up are the figures in B only if it shows
10 or 11 in A.

....

Another alternative,

=SUM(SUMIF(A1:A6,{10,11},B1:B6))

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
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Sumif Pritesh Excel Discussion (Misc queries) 6 July 20th 06 10:27 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 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:51 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"