Ask for help for multiple criteria

Emily

Active Member
Joined
Aug 28, 2002
Messages
304
Dear All,

For the following data, how can I obtain the frequency if row 1 is C and row 2 is 1990.

A B C C C B C A C
1992 1990 1990 1923 1990 2050 1901 1990 1991
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Thanks.
I never thought using "SUMPRODUCT". Is it possible to use COUNTIF instead?
 
Upvote 0
Aladin's formula is elegant and efficient. Just to add some alternates that are not so efficient in this case ...

{=SUM(IF((A1:I1="c")*(A2:I2=1990),1,0))}

or

{=SUM(IF(A1:I1="C",IF(A2:I2=1990,1,0),0))}

Regards!

Yogi
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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