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 Multiple criteria in 2 different columns for a sum in a 3rd column

Trying to write a formula to fit this all info is on a different sheet in the
same workbook.

Masterdata(sheet name)( Column for 1st critera)
D2:D100,(Critera)"Infrastructure", (Column for 2nd critera), L2:L100
,(Critera)"PO", Sum N2:N100

My idea is that looking on the master data sheet if in Column D
"Infrastructure" is chosen and in column L "po" is chosen then it will add
totals in column N.





  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Multiple criteria in 2 different columns for a sum in a 3rd column

Hi,
try
=sumproduct(--(masterdata!$d$2:$d$100="Infrastructure"),--(masterdata!$l$2:$l$100="PO"),masterdata!$n$2:$n$1 00)

"Cyn" wrote:

Trying to write a formula to fit this all info is on a different sheet in the
same workbook.

Masterdata(sheet name)( Column for 1st critera)
D2:D100,(Critera)"Infrastructure", (Column for 2nd critera), L2:L100
,(Critera)"PO", Sum N2:N100

My idea is that looking on the master data sheet if in Column D
"Infrastructure" is chosen and in column L "po" is chosen then it will add
totals in column N.





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default Multiple criteria in 2 different columns for a sum in a 3rdcolumn

And if Cyn wants to list the sum of N2:N100 for all occuring different
values in D2:D100 and L2:L100:

Select a sufficiently long area (i.e. 20 rows) and 3 columns and array-
enter:
=Sfreq(D2:D100,L2:L100,N2:N100)

Sfreq you will find he
http://www.sulprobil.com/html/sfreq.html

Regards,
Bernd
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
cyn cyn is offline
external usenet poster
 
Posts: 7
Default Multiple criteria in 2 different columns for a sum in a 3rd co

Thank you,

I saw what I was missing it works now.

"Eduardo" wrote:

Hi,
try
=sumproduct(--(masterdata!$d$2:$d$100="Infrastructure"),--(masterdata!$l$2:$l$100="PO"),masterdata!$n$2:$n$1 00)

"Cyn" wrote:

Trying to write a formula to fit this all info is on a different sheet in the
same workbook.

Masterdata(sheet name)( Column for 1st critera)
D2:D100,(Critera)"Infrastructure", (Column for 2nd critera), L2:L100
,(Critera)"PO", Sum N2:N100

My idea is that looking on the master data sheet if in Column D
"Infrastructure" is chosen and in column L "po" is chosen then it will add
totals in column N.





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
Filter Multiple Columns on Multiple Criteria and count the last co LBitler Excel Worksheet Functions 2 February 12th 09 08:36 PM
To count the data using multiple criteria in multiple columns Rajesh New Users to Excel 5 December 15th 08 04:07 PM
create new table from Multiple Criteria in multiple columns InfoSeeker Excel Worksheet Functions 4 November 9th 08 06:54 AM
Nesting COUNTIF for multiple criteria in multiple columns NeedExcelHelp07 Excel Worksheet Functions 1 December 12th 07 05:47 PM
Formula to sum multiple columns on multiple criteria vito Excel Discussion (Misc queries) 2 November 15th 07 03:30 PM


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