CountIf for multiple values on the same row

JasonTruman

Board Regular
Joined
Sep 30, 2003
Messages
85
Hi all

Anyone help (keeping it simple)

If I have a list of years in column A say lots of 2006, 2007 and 2008, then in column B, text, such as Backlog, No Backlog, is there a way using Countif to say how many are 2007 AND Backlog. I can do it using an IF combined AND in column C first to get a Yes and then count those up, but is there a way without having to do loads of calcs

Unless Countif isn't the way to go and there is another solution

Cheers
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
=SUMPRODUCT((A1:A1000=2007)*(B1:B1000="Backlog"))

The bolded parts can be replaced with cell references containing the respective values.
 
Upvote 0

Forum statistics

Threads
1,214,429
Messages
6,119,433
Members
448,897
Latest member
ksjohnson1970

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