Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jan Jan is offline
external usenet poster
 
Posts: 159
Default Sum Product values meeting 2 criteria

I am trying to sum column F for entries where the following conditions are
met:-

Column A contains text value matching G6
+
Column B contains text value matching G9

=SUMPRODUCT((--'[Cognos Links.xls]Current Month'!$A1:$A5000=G6),--('[Cognos
Links.xls]Current Month'!$B1:$B5000=G9),'[Cognos Links.xls]Current
Month'!$F1:$F5000)

Much appreciated!








  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Sum Product values meeting 2 criteria

I believe your first group has the "--" in wrong place. In its current place,
your trying to convert the text to numbers, and then compare to G6.

=SUMPRODUCT(--('[Cognos Links.xls]Current Month'!$A1:$A5000=G6),--('[Cognos
Links.xls]Current Month'!$B1:$B5000=G9),'[Cognos Links.xls]Current
Month'!$F1:$F5000)

Note also, if row 1 contains header text, this will snag when it tries to
multiply F1 directly.

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Jan" wrote:

I am trying to sum column F for entries where the following conditions are
met:-

Column A contains text value matching G6
+
Column B contains text value matching G9

=SUMPRODUCT((--'[Cognos Links.xls]Current Month'!$A1:$A5000=G6),--('[Cognos
Links.xls]Current Month'!$B1:$B5000=G9),'[Cognos Links.xls]Current
Month'!$F1:$F5000)

Much appreciated!








  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Sum Product values meeting 2 criteria

(all in one line)
=SUMPRODUCT(
--('[Cognos Links.xls]Current Month'!$A1:$A5000=G6),
--('[Cognos Links.xls]Current Month'!$B1:$B5000=G9),
'[Cognos Links.xls]Current Month'!$F1:$F5000)

If this post helps click Yes
---------------
Jacob Skaria


"Jan" wrote:

I am trying to sum column F for entries where the following conditions are
met:-

Column A contains text value matching G6
+
Column B contains text value matching G9

=SUMPRODUCT((--'[Cognos Links.xls]Current Month'!$A1:$A5000=G6),--('[Cognos
Links.xls]Current Month'!$B1:$B5000=G9),'[Cognos Links.xls]Current
Month'!$F1:$F5000)

Much appreciated!








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
Identifying A Pattern Of Values Meeting Specific Criteria CSHAKES Excel Discussion (Misc queries) 3 June 17th 07 06:55 AM
calculation based on meeting two criteria jerry Excel Discussion (Misc queries) 2 October 7th 05 12:35 AM
Sumif problems - meeting 2 criteria then sum Kikkoman Excel Discussion (Misc queries) 1 August 2nd 05 04:49 PM
how to sum highest ranking values meeting criteria within a limit? QuantumPion Excel Discussion (Misc queries) 4 June 7th 05 02:15 PM
COUNTIF MEETING TWO CRITERIA eg>5 AND <10.1 John Higgins Excel Worksheet Functions 2 December 22nd 04 01:19 AM


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