Formula for two seperate COUNTIF columns?

Pezgordo

Board Regular
Joined
Jan 28, 2011
Messages
61
I have a spreadsheet where Column F is labeled H(ome) / A(way) and Column G is labeled W(in) / L(oss). I have the COUNTIF formula to count the numbers of H/A in Column F or W/L in Column G. What I would like to know is how do I count the number of H's (in Columns F) that are W's (in column G), etc (H's that are L's, A's that are W's and A's that are L's)?

Thank you.

Tim
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
If you don't have XL2007 or higher, then you'll need sumproduct

=SUMPRODUCT(--(F1:F100="H"),--(G1:G100="W"))


Hope that helps
 
Upvote 0

Forum statistics

Threads
1,224,542
Messages
6,179,421
Members
452,913
Latest member
JWD210

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