Create totals using drag down

Danny54

Active Member
Joined
Jul 3, 2019
Messages
295
Office Version
  1. 365
Platform
  1. Windows
Good Afternoon

Could a formula be created to count occurrences of values in ranges and list the occurrences at the conclusion of values in column a.
example - looking for a total count of Crits would find 2 values that fall in the Ranges value of 900-1000 [the ones showing 1000]
Next looking for the highs (ranges 600-899) finds three values, 600, 700, 700 and so on

If a formula couldn't be create a macro could be used.

Thanks

CountRangesDesc
600​
900-1000Crit
1000​
600-899High
700​
300-599Med
560​
0-299Low
700​
1000​
55​
2 - Crit
3 - High
1-Med
1-Low
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Excel Formula:
=COUNTIF(A:A, ">=900") & " - Crits"
Excel Formula:
=COUNTIFS(A:A, ">=600", A:A, "<900") & " - High"
Excel Formula:
=COUNTIFS(A:A, ">=300", A:A, "<600") & " - Med"
Excel Formula:
=COUNTIF(A:A, "<300") & " - Low"
 
Upvote 0
Solution

Forum statistics

Threads
1,223,883
Messages
6,175,167
Members
452,615
Latest member
bogeys2birdies

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