Excel 2007 Formula

petes

Board Regular
Joined
Sep 12, 2009
Messages
168
I have data in 2 columns (A & B)

Column A has numbers in Range A1 to A21 (Numbers from 1 to 20, Excluding heading).
Column B can have 4 values (Open,Closed,Hold,Progress) and is updated in Range B1 to B21 (Excluding Heading)

I am looking for a formula that retrives the Total COUNT of:

Less than 10 from column A and corresponding OPEN and CLOSED from column B

Thanks
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi Petes
Are you using 2007
Code:
=COUNTIFS(B2:B21,"closed",A2:A21,"<10")
=COUNTIFS(B2:B21,"open",A2:A21,"<10")

2003
Code:
=SUMPRODUCT(--(B2:B21="closed")*(A2:A21<10))
=SUMPRODUCT(--(B2:B21="open")*(A2:A21<10))
 
Upvote 0
I am looking for the total count of OPEN and CLOSED that is <10 to appear in a single cell

I am using Excel 2007

Thank you
 
Upvote 0
Code:
=COUNTIFS(B2:B21,"closed",A2:A21,"<10")+COUNTIFS(B2:B21,"open",A2:A21,"<10")
 
Upvote 0

Forum statistics

Threads
1,214,805
Messages
6,121,656
Members
449,045
Latest member
Marcus05

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top