counting with character in count if formula

sachin483

Board Regular
Joined
Mar 31, 2015
Messages
163
Office Version
  1. 2019
Platform
  1. Windows
i am using the formula for count if =COUNTIF(A$2:$A2,A2) but it is displaying number for result can it be alphabet

[TABLE="width: 192"]
<tbody>[TR]
[TD="width: 64"]DATA[/TD]
[TD="width: 64"]COUNTIF[/TD]
[TD="width: 64"]REQUIRED[/TD]
[/TR]
[TR]
[TD="class: xl63"]AAA[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"]A[/TD]
[/TR]
[TR]
[TD="class: xl63"]AAA[/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl64"]B[/TD]
[/TR]
[TR]
[TD="class: xl63"]AAA[/TD]
[TD="class: xl64"]3[/TD]
[TD="class: xl64"]C[/TD]
[/TR]
[TR]
[TD="class: xl63"]AAA[/TD]
[TD="class: xl64"]4[/TD]
[TD="class: xl64"]D[/TD]
[/TR]
[TR]
[TD="class: xl63"]AAA[/TD]
[TD="class: xl64"]5[/TD]
[TD="class: xl64"]E[/TD]
[/TR]
[TR]
[TD="class: xl63"]BBB[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"]A[/TD]
[/TR]
[TR]
[TD="class: xl63"]BBB[/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl64"]B[/TD]
[/TR]
[TR]
[TD="class: xl63"]BBB[/TD]
[TD="class: xl64"]3[/TD]
[TD="class: xl64"]C[/TD]
[/TR]
[TR]
[TD="class: xl63"]BBB[/TD]
[TD="class: xl64"]4[/TD]
[TD="class: xl64"]D[/TD]
[/TR]
[TR]
[TD="class: xl63"]CCCC[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"]A[/TD]
[/TR]
[TR]
[TD="class: xl63"]CCCC[/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl64"]B[/TD]
[/TR]
[TR]
[TD="class: xl63"]CCCC[/TD]
[TD="class: xl64"]3[/TD]
[TD="class: xl64"]C[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Try
=CHAR(COUNTIF(A$2:$A2,A2)+64)
this will only work up to Z
 
Upvote 0
COUNTIF returns a numeric value - it counts records that match your criteria. What kind of answer are you expecting?
 
Upvote 0
i was using reverse count if and instead of numeric i wanted character thanks
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,322
Members
452,635
Latest member
laura12345

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