How to use countif

leezhihong

Board Regular
Joined
Nov 1, 2009
Messages
50
Excel Workbook
ABC
1NO.NameAmount
212315MO481
312321MO665
442563MV273
542565MV762
642574MV488
742577MV780
842582MV748
942589MV375
1042590MV644
1142594MV328
1342596MV382
1442607MV654
1542619MV359
1642623MV258
1742624MV316
1842625MV679
1942626MV186
2683804BMP502
2783805MP772
2883816MP460
3683861MP468
4083866MP339
4283884MP734
4383890MP486
4483909MP399
4683913MP751
49
50NameHow to doGoal
51MO2
52MV15
53MP9
Sheet1
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
leezhihong,


Excel Workbook
ABC
1NO.NameAmount
212315MO481
312321MO665
442563MV273
542565MV762
642574MV488
742577MV780
842582MV748
942589MV375
1042590MV644
1142594MV328
1242596MV382
1342607MV654
1442619MV359
1542623MV258
1642624MV316
1742625MV679
1842626MV186
1983804BMP502
2083805MP772
2183816MP460
2283861MP468
2383866MP339
2483884MP734
2583890MP486
2683909MP399
2783913MP751
28
29NameHow to doGoal
30MO2
31MV15
32MP9
33
Sheet1





The formula in cell C30 copied down:

=COUNTIF($B$2:$B$27,A30)
 
Upvote 0
try this


Excel Workbook
ABC
1NO.NameAmount
212315MO481
312321MO665
442563MV273
542565MV762
642574MV488
742577MV78
842582MV748
942589MV375
1042590MV644
1142594MV328
1242596MV382
1342607MV654
1442619MV359
1542623MV258
1642624MV316
1742625MV679
1842626MV186
1983804BMP502
2083805MP772
2183816MP460
2283861MP468
2383866MP339
2483884MP734
2583890MP486
2683909MP399
2783913MP751
28
29NameHow to doGoal
30MO2
31MV15
32MP9
Sheet1
 
Upvote 0
Excel Workbook
ABC
1NO.NameAmount
212315MO481
312321MO665
442563MV273
542565MV762
642574MV488
742577MV780
842582MV748
942589MV375
1042590MV644
1142594MV328
1342596MV382
1442607MV654
1542619MV359
1642623MV258
1742624MV316
1842625MV679
1942626MV186
2683804BMP502
2783805MP772
2883816MP460
3683861MP468
4083866MP339
4283884MP734
4383890MP486
4483909MP399
4683913MP751
49***
50NameHow to doGoal
51MO*2
52MV*15
53MP*9
Sheet1


The hidden rows isn't count.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,730
Members
452,939
Latest member
WCrawford

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