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
 

Some videos you may like

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Emily

Active Member
Joined
Aug 28, 2002
Messages
304
Thanks.
I never thought using "SUMPRODUCT". Is it possible to use COUNTIF instead?
 

Yogi Anand

MrExcel MVP
Joined
Mar 12, 2002
Messages
11,454
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
 

Watch MrExcel Video

Forum statistics

Threads
1,122,556
Messages
5,596,820
Members
414,104
Latest member
imamalidadashzada

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