Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
BethB
 
Posts: n/a
Default Multiple Criteria IF Nesting

I have the need to count instances based on multiple criteria (3, to be
exact). I already have successfully done a formula based on 2 criteria, but I
am not getting the syntax right, or maybe just not using the right formula at
all to get the 3rd criteria selected out. The table of info I am culling
information is set up as shown below:

Part Part# Status Ship To Ship Date Exchange Invoice $$
Widgets 075 Shipped ABC Co 5/15/05 N/A 20
Bobbins 093 On Hold Acme Inc 3/20/05 Widget 10
Gadgets 024 Shipped Smith Co. 8/10/04 N/A 25

The spreadsheet containing the successful results thus far is set up thusly:

Part PN Shipped Exch Sold In House
Widgets 075 1 0 0 (Here's where the
problem lies)

For the shipped, exchanged, and sold, I got the results using an
aggregate function, as follows:
{Count(IF((a2:a1500="widgets")*(c2:c1500="Shipped" ),g2:g1500))}

For In House, however, I need to count instances where the part =
"Widgets", Status < "Shipped", AND Ship To <"Acme Inc."

Any help/advice would be much appreciated.
--
Best Regards,

Beth
  #2   Report Post  
Alok
 
Posts: n/a
Default

The following should do it

=Count(IF((a2:a1500="widgets")*(c2:c1500<"Not Shipped")*(E2:E1500<"Acme
Inc"),g2:g1500))

This should be array entered.

Alok Joshi


"BethB" wrote:

I have the need to count instances based on multiple criteria (3, to be
exact). I already have successfully done a formula based on 2 criteria, but I
am not getting the syntax right, or maybe just not using the right formula at
all to get the 3rd criteria selected out. The table of info I am culling
information is set up as shown below:

Part Part# Status Ship To Ship Date Exchange Invoice $$
Widgets 075 Shipped ABC Co 5/15/05 N/A 20
Bobbins 093 On Hold Acme Inc 3/20/05 Widget 10
Gadgets 024 Shipped Smith Co. 8/10/04 N/A 25

The spreadsheet containing the successful results thus far is set up thusly:

Part PN Shipped Exch Sold In House
Widgets 075 1 0 0 (Here's where the
problem lies)

For the shipped, exchanged, and sold, I got the results using an
aggregate function, as follows:
{Count(IF((a2:a1500="widgets")*(c2:c1500="Shipped" ),g2:g1500))}

For In House, however, I need to count instances where the part =
"Widgets", Status < "Shipped", AND Ship To <"Acme Inc."

Any help/advice would be much appreciated.
--
Best Regards,

Beth

  #3   Report Post  
BethB
 
Posts: n/a
Default

Alok -

Seems to be working. Thanks so much!
--
Best Regards,

Beth


"Alok" wrote:

The following should do it

=Count(IF((a2:a1500="widgets")*(c2:c1500<"Not Shipped")*(E2:E1500<"Acme
Inc"),g2:g1500))

This should be array entered.

Alok Joshi


"BethB" wrote:

I have the need to count instances based on multiple criteria (3, to be
exact). I already have successfully done a formula based on 2 criteria, but I
am not getting the syntax right, or maybe just not using the right formula at
all to get the 3rd criteria selected out. The table of info I am culling
information is set up as shown below:

Part Part# Status Ship To Ship Date Exchange Invoice $$
Widgets 075 Shipped ABC Co 5/15/05 N/A 20
Bobbins 093 On Hold Acme Inc 3/20/05 Widget 10
Gadgets 024 Shipped Smith Co. 8/10/04 N/A 25

The spreadsheet containing the successful results thus far is set up thusly:

Part PN Shipped Exch Sold In House
Widgets 075 1 0 0 (Here's where the
problem lies)

For the shipped, exchanged, and sold, I got the results using an
aggregate function, as follows:
{Count(IF((a2:a1500="widgets")*(c2:c1500="Shipped" ),g2:g1500))}

For In House, however, I need to count instances where the part =
"Widgets", Status < "Shipped", AND Ship To <"Acme Inc."

Any help/advice would be much appreciated.
--
Best Regards,

Beth

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
Using Sumproduct with multiple Criteria Mark Jackson Excel Worksheet Functions 1 May 6th 05 10:07 PM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM
How do I sum (like sumif) but predicated on multiple criteria, in. djpaik Excel Worksheet Functions 2 January 1st 05 01:12 PM
Countif with multiple criteria and multiple worksheets JJ Excel Worksheet Functions 1 December 28th 04 06:37 PM
Counting "rows", i.e. simultaneous criteria for multiple cells gkline Excel Worksheet Functions 2 November 19th 04 07:30 AM


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