How to count the times a value occurs

xayala

New Member
Joined
Jun 29, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
In my sheet I am trying to see how many times a value appears in a range of values. An example would be how many times the value"1" occurs between 60-120. The problem is I want the single digit not just the value 1. So in the example if 61,71,81, etc occur I want to know how many times 1 occurs
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi, maybe try this:

=LEN(TEXTJOIN(,,A1:A10))-LEN(SUBSTITUTE(TEXTJOIN(,,A1:A10),1,""))
 
Upvote 0
Hi, maybe try this:

=LEN(TEXTJOIN(,,A1:A10))-LEN(SUBSTITUTE(TEXTJOIN(,,A1:A10),1,""))
I cant get mini sheet to work but ive attached photo, the command you advised did not seem to work
 

Attachments

  • Screenshot 2021-06-29 104645.png
    Screenshot 2021-06-29 104645.png
    93.3 KB · Views: 5
Upvote 0
I dont understand what thats doing compared to your query.
In the photo in each "number" column, I need to find how often each number occurs in the range. for the range A2:A38 for example I need to see how often 1,2,3,etc occurs even if they are in double or triple digit number like 60,278
 
Upvote 0
Thats what i gave you. Doesnt work doesnt help me as i cant see the result.
 
Upvote 0

Forum statistics

Threads
1,214,967
Messages
6,122,503
Members
449,090
Latest member
RandomExceller01

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