Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How to make a nested SUMIF possible

I am trying to sum a column ("S") based on fulfilling 2 criteria in 2
other columns (C = A1 AND O = 1, 2, 3...12). I want to do this in a
formula rather than a DSUM since my criteria changes in 2 different
ways; Column C follows a cell reference, and Column O follows months 1
- 12.

Suggestions?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How to make a nested SUMIF possible

Thanks... I tried sumproduct and received the #num error or wacko
results with SUM(IF(...

=SUMPRODUCT((JDE=A24)*(Month=4)*USD)

JDE = Column C
Month = Column O
USD = summing all $$$
Month = discreet value to be changed by cell.

Don Guillett wrote:
maybe
=sumproduct((c2:c22=a1)*(o2:o220)*(o2:o22<=12)*s2 :s22)

--
Don Guillett
SalesAid Software

"paul" wrote in message
oups.com...
I am trying to sum a column ("S") based on fulfilling 2 criteria in 2
other columns (C = A1 AND O = 1, 2, 3...12). I want to do this in a
formula rather than a DSUM since my criteria changes in 2 different
ways; Column C follows a cell reference, and Column O follows months 1
- 12.

Suggestions?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How to make a nested SUMIF possible

Thanks!!!!!!!!!!!!!!

I guess it did not like my "NAMED" ranges... It worked when I used the
actual cell references.

=SUMPRODUCT(('Raw Data'!$C$2:$C$6270=$A2)*('Raw
Data'!$O$2:$O$6270=1)*'Raw Data'!$S$2:$S$6270)


Don Guillett wrote:
maybe
=sumproduct((c2:c22=a1)*(o2:o220)*(o2:o22<=12)*s2 :s22)

--
Don Guillett
SalesAid Software

"paul" wrote in message
oups.com...
I am trying to sum a column ("S") based on fulfilling 2 criteria in 2
other columns (C = A1 AND O = 1, 2, 3...12). I want to do this in a
formula rather than a DSUM since my criteria changes in 2 different
ways; Column C follows a cell reference, and Column O follows months 1
- 12.

Suggestions?


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How to make a nested SUMIF possible

Thanks!!!!!!!!!!!!!!

I guess it did not like my "NAMED" ranges... It worked when I used the
actual cell references.

=SUMPRODUCT(('Raw Data'!$C$2:$C$6270=$A2)*('Raw
Data'!$O$2:$O$6270=1)*'Raw Data'!$S$2:$S$6270)


Don Guillett wrote:
maybe
=sumproduct((c2:c22=a1)*(o2:o220)*(o2:o22<=12)*s2 :s22)

--
Don Guillett
SalesAid Software

"paul" wrote in message
oups.com...
I am trying to sum a column ("S") based on fulfilling 2 criteria in 2
other columns (C = A1 AND O = 1, 2, 3...12). I want to do this in a
formula rather than a DSUM since my criteria changes in 2 different
ways; Column C follows a cell reference, and Column O follows months 1
- 12.

Suggestions?




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default How to make a nested SUMIF possible

Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"paul" wrote in message
oups.com...
Thanks... I tried sumproduct and received the #num error or wacko
results with SUM(IF(...

=SUMPRODUCT((JDE=A24)*(Month=4)*USD)

JDE = Column C
Month = Column O
USD = summing all $$$
Month = discreet value to be changed by cell.

Don Guillett wrote:
maybe
=sumproduct((c2:c22=a1)*(o2:o220)*(o2:o22<=12)*s2 :s22)

--
Don Guillett
SalesAid Software

"paul" wrote in message
oups.com...
I am trying to sum a column ("S") based on fulfilling 2 criteria in 2
other columns (C = A1 AND O = 1, 2, 3...12). I want to do this in a
formula rather than a DSUM since my criteria changes in 2 different
ways; Column C follows a cell reference, and Column O follows months 1
- 12.

Suggestions?




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
Eliminating Duplicate GROUPS of Styles Greg Purnell Excel Worksheet Functions 6 October 2nd 06 04:24 AM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
make hidden window or workbook visible without specify the name mango Excel Worksheet Functions 1 December 30th 04 03:05 PM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM
How Do I created a nested sumif - if this column has this and thi. Gita Mooney Excel Worksheet Functions 5 November 1st 04 04:18 PM


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