COUNT IF FORMULA for Two Column Condition

Samael2021

New Member
Joined
Jun 21, 2021
Messages
22
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
DEAR SIR,
Let me ask you a little bit. I want to increase the count if (A1,B1) value is the same with (A2,B2). Can someone provide a formula for this? Please help me.
Thank you so much!!

A B C
No1 No2 Count
1 1 1
1 1 2
2 3 1
2 0 1
1 1 3
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
that explanation is quite bad.

2 solutions cos I'm not sure which 1 ur after exactly

Book1
ABCDE
9ABexpetedCountCount
1011131
1111232
1223111
1320111
1411333
Sheet1
Cell Formulas
RangeFormula
D10:D14D10=COUNTIFS($A$10:$A$14,A10,$B$10:$B$14,B10)
E10:E14E10=COUNTIFS($A$10:$A10,A10,$B$10:$B10,B10)
 
Upvote 0
Solution
that explanation is quite bad.

2 solutions cos I'm not sure which 1 ur after exactly

Book1
ABCDE
9ABexpetedCountCount
1011131
1111232
1223111
1320111
1411333
Sheet1
Cell Formulas
RangeFormula
D10:D14D10=COUNTIFS($A$10:$A$14,A10,$B$10:$B$14,B10)
E10:E14E10=COUNTIFS($A$10:$A10,A10,$B$10:$B10,B10)
Thank you so much, Sir.
 
Upvote 0

Forum statistics

Threads
1,215,584
Messages
6,125,673
Members
449,248
Latest member
wayneho98

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