Counting Formula for numbers in multiple columns

kpross

New Member
Joined
Oct 8, 2006
Messages
1
I have two columns of numbers. Column A contains the numbers 1 and 2. Column B contains the numbers 1, 2, and 3. There are 288 numbers in each column starting on row 2 and ending on row 289. I need to know how to write a formula that will count the number of times that number 1 appears in column A and number 3 appears in column B at the same time. Does anyone have any suggestions.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
Hi Kpross

Welcome to the Board!

=SUMPRODUCT(--(A2:A289=1),--(B2:B289=3))

Best regards

Richard
 

Forum statistics

Threads
1,176,227
Messages
5,902,039
Members
434,936
Latest member
pbart

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
Top