Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
carl
 
Posts: n/a
Default Sumproduct Question

My data table is like so:

Date Type ID Status GiveUp Name Count
20060314 Order BOX017 226 Q0 2
20060314 OrderO BOX017 Directed 226 Q0 3
20060314 OrderO BOX017 226 Q0 4


I use this formula:

=SUMPRODUCT(--(D3:D5="Order");--(E3:E5="BOX017");--(G3:G5=226);--(I3:I5))

I would like to add the condition: If D3:D5="OrderO" and E3:E5="BOX017" and
F3:F5="Directed" and G3:G5=226. Not sure how to do this - do I need to use an
OR operator ?

The result should be:

Date Count
20060314 5

Thank you in advance.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Sumproduct Question

Try...

=SUMPRODUCT(--(D3:D5="OrderO");--(E3:E5="BOX017");--(F3:F5="Directed");--
(G3:G5=226);I3:I5)

Hope this helps!

In article ,
carl wrote:

My data table is like so:

Date Type ID Status GiveUp Name Count
20060314 Order BOX017 226 Q0 2
20060314 OrderO BOX017 Directed 226 Q0 3
20060314 OrderO BOX017 226 Q0 4


I use this formula:

=SUMPRODUCT(--(D3:D5="Order");--(E3:E5="BOX017");--(G3:G5=226);--(I3:I5))

I would like to add the condition: If D3:D5="OrderO" and E3:E5="BOX017" and
F3:F5="Directed" and G3:G5=226. Not sure how to do this - do I need to use an
OR operator ?

The result should be:

Date Count
20060314 5

Thank you in advance.

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
Sumproduct Question [email protected] Excel Discussion (Misc queries) 9 March 10th 06 04:26 PM
SUMPRODUCT Question Victor Chapman Excel Worksheet Functions 4 January 5th 06 05:47 PM
SUMPRODUCT question Eric @ CMN, Evansville Excel Worksheet Functions 4 December 16th 05 09:54 PM
another sumproduct question cjjoo Excel Worksheet Functions 9 November 18th 05 07:59 PM
SUMPRODUCT Question... PokerZan Excel Discussion (Misc queries) 4 August 27th 05 12:09 AM


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