Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default SUM USING MULTIPLE CRITERIA

I want to add data in one column after evaluating criteria in 2 separate
columns. I have tried arrays and nested functions but can't figure it out.
Any ideas? Please see example below.


Cust Prod Code Loc On Order
B W TNC 300
A Y VBN 2000
A Y VBN 500
A Z AOK 1000

Calculate sum of "On Order" based on 2 criteria - "Prod Code" and "Loc"
Example: Criteria: Prod Code="Y" and Loc="VBN". On Order=2500.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 222
Default SUM USING MULTIPLE CRITERIA

Column B = Prod Code
Column C = Loc
Column D = Sum range

Try something like this:
=SUMPRODUCT(($B$2:$B$1000="Y")*($C$2:$C$1000="VBN" )*($D$2:$D$1000))

--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"brownmre" wrote:

I want to add data in one column after evaluating criteria in 2 separate
columns. I have tried arrays and nested functions but can't figure it out.
Any ideas? Please see example below.


Cust Prod Code Loc On Order
B W TNC 300
A Y VBN 2000
A Y VBN 500
A Z AOK 1000

Calculate sum of "On Order" based on 2 criteria - "Prod Code" and "Loc"
Example: Criteria: Prod Code="Y" and Loc="VBN". On Order=2500.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default SUM USING MULTIPLE CRITERIA

AMAZING...IT WORKS. I thought I'd never get here. Thanks!

"JBeaucaire" wrote:

Column B = Prod Code
Column C = Loc
Column D = Sum range

Try something like this:
=SUMPRODUCT(($B$2:$B$1000="Y")*($C$2:$C$1000="VBN" )*($D$2:$D$1000))

--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"brownmre" wrote:

I want to add data in one column after evaluating criteria in 2 separate
columns. I have tried arrays and nested functions but can't figure it out.
Any ideas? Please see example below.


Cust Prod Code Loc On Order
B W TNC 300
A Y VBN 2000
A Y VBN 500
A Z AOK 1000

Calculate sum of "On Order" based on 2 criteria - "Prod Code" and "Loc"
Example: Criteria: Prod Code="Y" and Loc="VBN". On Order=2500.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 222
Default SUM USING MULTIPLE CRITERIA

Awesome. Glad to help.
--

"Actually, I *am* a rocket scientist." -- JB
Your feedback is appreciated, click YES if this post helped you.


"brownmre" wrote:
AMAZING...IT WORKS. I thought I'd never get here. Thanks!


  #5   Report Post  
Posted to microsoft.public.excel.misc
dan dan is offline
external usenet poster
 
Posts: 866
Default SUM USING MULTIPLE CRITERIA



"brownmre" wrote:

AMAZING...IT WORKS. I thought I'd never get here. Thanks!

"JBeaucaire" wrote:

Column B = Prod Code
Column C = Loc
Column D = Sum range

Try something like this:
=SUMPRODUCT(($B$2:$B$1000="Y")*($C$2:$C$1000="VBN" )*($D$2:$D$1000))

--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"brownmre" wrote:

I want to add data in one column after evaluating criteria in 2 separate
columns. I have tried arrays and nested functions but can't figure it out.
Any ideas? Please see example below.


Cust Prod Code Loc On Order
B W TNC 300
A Y VBN 2000
A Y VBN 500
A Z AOK 1000

Calculate sum of "On Order" based on 2 criteria - "Prod Code" and "Loc"
Example: Criteria: Prod Code="Y" and Loc="VBN". On Order=2500.

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
Count multiple cells against multiple criteria in an Excel spreads EricB Excel Worksheet Functions 7 June 3rd 08 09:09 PM
match multiple criteria ina range from multiple criteria multiplet RG Excel Worksheet Functions 8 September 28th 07 04:21 AM
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Saleem Excel Worksheet Functions 1 January 12th 05 10:54 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Arain Excel Worksheet Functions 1 January 12th 05 08:33 AM


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