The below is specific to the lead status, but this can apply to any report grouping. However, it works best with single picklist or checkboxes as there are set values that work well with formulas.
Also, if you have more or less than 4 values in your grouping, change the formulas accordingly.
Step 1: We need to list the Statuses in order. By default, Salesforce sorts them in alphabetical order. The easiest way to do it is to create a bucket column (see image below).
Step 2: Create as many buckets as you need for your statuses, but name them as shown below, with a number in front of their names:
Step 3: Click on Unbucketed Values bucket, select the first status, click Move to, and select "1-Open-Not Contacted." Repeat for each value and then click Apply.
Step 4:
CASE(STATUS, "Open - Not Contacted",1, "Working - Contacted",2, "Closed - Converted",3,4)
CASE(STATUS, "Open - Not Contacted",1, "Working - Contacted",2, "Closed - Converted",3, “Value4”,4,5)Step 6: Create a Summary Formula by clicking the down arrow in the Columns section and selecting Add Summary Formula.
RowCount+ CASE(CDF1:AVG, 4,0, 3,BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_60270980),0), 2,BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_60270980,2),0)+BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_60270980),0), BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_60270980,3),0)+BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_60270980,2),0)+BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_60270980),0))
RowCount+ CASE(CDF1:AVG,5, 0, 4,BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_52627257),0), 3,BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_52627257,2),0)+BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_52627257),0), 2,BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_52627257,3),0)+BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_52627257,2),0)+BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_52627257),0), BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_52627257,4),0)+BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_52627257,3),0)+BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_52627257,2),0)+BLANKVALUE(PREVGROUPVAL(RowCount,BucketField_52627257),0))
000393469

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.