Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default Adding up entries in one column with conditions in two columns

Hello Excel(lent) users,

I want to know the following
A (Priority) B (numbers) C (week)
--------- -------------- -------------
1 12 6
2 11 6
3 14 5
1 11 4
1 11 6

How much numbers have been closed in week 6 with priority 1?
In the above example it is 12+11 =23.

How can I get this information, by using sumproduct?

Please help me !

Thanks!


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Adding up entries in one column with conditions in two columns

Have a look at sumif.


Should look like =SUMIF(A1:A5,1,B1:B5)

--
John
MOS Master Instructor
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"The Fool on the Hill" wrote:

Hello Excel(lent) users,

I want to know the following
A (Priority) B (numbers) C (week)
--------- -------------- -------------
1 12 6
2 11 6
3 14 5
1 11 4
1 11 6

How much numbers have been closed in week 6 with priority 1?
In the above example it is 12+11 =23.

How can I get this information, by using sumproduct?

Please help me !

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Adding up entries in one column with conditions in two columns

=SUMPRODUCT(--(A2:A100=1),--(C2:C100=6),B2:B100)


"The Fool on the Hill" wrote:

Hello Excel(lent) users,

I want to know the following
A (Priority) B (numbers) C (week)
--------- -------------- -------------
1 12 6
2 11 6
3 14 5
1 11 4
1 11 6

How much numbers have been closed in week 6 with priority 1?
In the above example it is 12+11 =23.

How can I get this information, by using sumproduct?

Please help me !

Thanks!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Adding up entries in one column with conditions in two columns

=sumproduct(--(c1:C10=6),--(A1:A10=1),B1:B10)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"The Fool on the Hill" wrote in
message ...
Hello Excel(lent) users,

I want to know the following
A (Priority) B (numbers) C (week)
--------- -------------- -------------
1 12 6
2 11 6
3 14 5
1 11 4
1 11 6

How much numbers have been closed in week 6 with priority 1?
In the above example it is 12+11 =23.

How can I get this information, by using sumproduct?

Please help me !

Thanks!




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Adding up entries in one column with conditions in two columns

Sorry, misread the part about the week number
--
John
MOS Master Instructor
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"john the confused" wrote:

Have a look at sumif.


Should look like =SUMIF(A1:A5,1,B1:B5)

--
John
MOS Master Instructor
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"The Fool on the Hill" wrote:

Hello Excel(lent) users,

I want to know the following
A (Priority) B (numbers) C (week)
--------- -------------- -------------
1 12 6
2 11 6
3 14 5
1 11 4
1 11 6

How much numbers have been closed in week 6 with priority 1?
In the above example it is 12+11 =23.

How can I get this information, by using sumproduct?

Please help me !

Thanks!




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default Adding up entries in one column with conditions in two columns

Hello Teethless,

Perfect, this is the answer I was looking for !

Sorry John, your answer did not help me ! Thanx for the effort !

"Teethless mama" wrote:

=SUMPRODUCT(--(A2:A100=1),--(C2:C100=6),B2:B100)


"The Fool on the Hill" wrote:

Hello Excel(lent) users,

I want to know the following
A (Priority) B (numbers) C (week)
--------- -------------- -------------
1 12 6
2 11 6
3 14 5
1 11 4
1 11 6

How much numbers have been closed in week 6 with priority 1?
In the above example it is 12+11 =23.

How can I get this information, by using sumproduct?

Please help me !

Thanks!


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
Need Macro Help excelmad Excel Discussion (Misc queries) 7 January 19th 07 10:04 PM
COUNTIF in between rows Vasilis Tergen Excel Worksheet Functions 20 January 13th 07 10:22 PM
macro unouwanme Excel Discussion (Misc queries) 9 August 31st 06 09:38 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
How can I sort an entire spreadsheet from a list prod sorter Excel Worksheet Functions 4 November 17th 04 03:43 AM


All times are GMT +1. The time now is 12:33 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"