Numbers - Countif question

Winehouse

New Member
Joined
Jul 29, 2018
Messages
33
Hi

I have a column of dates with the end of the year top, going down to the start of the year at the bottom. I'd like to count the number of occurrences of a letter in the next column using countif. However, it displays the occurrences 0,1,2,3, whereas I'd like to see them 3,2,1,0. Is there a way to display them as they occur during the year, or will I just have to change the date order?

Thank you
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Maybe:

Book1
ABC
1DateLetterInstance
212/1/2022A5
311/1/2022B 
410/1/2022C 
59/1/2022A4
68/1/2022B 
77/1/2022C 
86/1/2022A3
95/1/2022B 
104/1/2022C 
113/1/2022A2
122/1/2022A1
131/1/2022C 
14
Sheet1
Cell Formulas
RangeFormula
C2:C13C2=IF(B2="A",COUNTIF($B$2:$B$13,"A")-COUNTIF($B$2:$B2,"A")+1,"")
 
Upvote 0
Is this an Excel or a Google Sheets question?

I ask because you posted this in the "General Discussion & Other Applications" forum instead of the "Excel Questions" forum (which is where Excel questions typically go), though you made no mention of Google Sheets, and the answers are not always the same between the two programs (so it is important for the responders to know which one you are using).
 
Upvote 0
Is this an Excel or a Google Sheets question?

I ask because you posted this in the "General Discussion & Other Applications" forum instead of the "Excel Questions" forum (which is where Excel questions typically go), though you made no mention of Google Sheets, and the answers are not always the same between the two programs (so it is important for the responders to know which one you are using).
I put it in the title. Numbers
 
Upvote 0
Sorry, I didn't realize that was the name of the program you are using (we rarely get "Numbers" questions).
I thought it was more of as description of what you were trying to return.
 
Upvote 0

Forum statistics

Threads
1,223,956
Messages
6,175,611
Members
452,660
Latest member
Zatman

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