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.
 

Some videos you may like

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

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
 

Watch MrExcel Video

Forum statistics

Threads
1,114,052
Messages
5,545,735
Members
410,703
Latest member
yaronjoseph
Top