Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
cyn cyn is offline
external usenet poster
 
Posts: 7
Default Help on formula for autosum on 2 criteria in 2 ranges

I need to get a sum from 2 different criteria in 2 different ranges.
PLace Type $$
a 1 3.00
a 2 5.00
b 1
c 1
d 1

My end result would be for all "a" in Place column and all "1" in Type
column then auto sum of Column $$
((Range,critera) and (range critera) {sum_range}) but i can't make it work
I'm missing something

Help

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Help on formula for autosum on 2 criteria in 2 ranges

One way:

=Sumif(A2:A6,"a",C2:C6)+Sumif(B2:B6,1,C2:C6)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Cyn" wrote in message
...
I need to get a sum from 2 different criteria in 2 different ranges.
PLace Type $$
a 1 3.00
a 2 5.00
b 1
c 1
d 1

My end result would be for all "a" in Place column and all "1" in Type
column then auto sum of Column $$
((Range,critera) and (range critera) {sum_range}) but i can't make it work
I'm missing something

Help



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Help on formula for autosum on 2 criteria in 2 ranges

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


"Cyn" wrote:

I need to get a sum from 2 different criteria in 2 different ranges.
PLace Type $$
a 1 3.00
a 2 5.00
b 1
c 1
d 1

My end result would be for all "a" in Place column and all "1" in Type
column then auto sum of Column $$
((Range,critera) and (range critera) {sum_range}) but i can't make it work
I'm missing something

Help

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Help on formula for autosum on 2 criteria in 2 ranges

Try this:

=SUMPRODUCT((A1:A5="a")*(B1:B5=1)*(C1:C5))

Adjust the ranges to suit your real data.

Hope this helps.

Pete

On Aug 26, 10:44*pm, Cyn wrote:
I need to get a sum from 2 different criteria in 2 different ranges.
PLace * Type *$$
a * * * * 1 * *3.00
a * * * * 2 * *5.00
b * * * * 1 * *
c * * * * 1
d * * * * 1

My end result would be for all "a" in Place column and all "1" in Type
column then auto sum of Column $$
((Range,critera) and (range critera) {sum_range}) but i can't make it work
I'm missing something

Help


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
counting two ranges for one criteria Jules in IL Excel Worksheet Functions 1 July 15th 08 06:34 PM
Sumif with 2 ranges & 2 criteria cgibby Excel Worksheet Functions 6 January 4th 08 08:58 PM
multiple ranges & criteria for SUM-IF challenge akumudzi Excel Discussion (Misc queries) 4 June 25th 07 10:18 PM
named ranges in multiple criteria formula ferde Excel Discussion (Misc queries) 4 April 4th 07 03:58 PM
How to put ranges in Criteria.. Steve Excel Discussion (Misc queries) 2 September 9th 05 01:17 AM


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