How to count a formula?

philky001

Board Regular
Joined
Jun 8, 2005
Messages
129
In my data, I get only the date-of-birth. I made a formula to get the age- =INT((TODAY()-C276)/365) and then I
make an age category: =IF(D2<12,"Child",IF(D2<18,"Adolescent","Adult"))

The summary data is done by the pivot table so I show all therapy service hours by age cat.
I would like to show total numbers of clients by age cat. I am not sure how to make the count to show on the pivot table or can be on the main sheet at the end.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Check if the following helps you.

401e11fc645162c7365cae6e74465925.jpg
 
Upvote 0
I am counting by category, I have 2 Adolescent, 4 adults and 3 children.


Do you need that?


Or you could show what data you have on the sheet, what you have in the pivot table and what you expect from the result.
 
Upvote 0
I am counting by category, I have 2 Adolescent, 4 adults and 3 children.


Do you need that?


Or you could show what data you have on the sheet, what you have in the pivot table and what you expect from the result.

Yes I am having trouble doing a rows count on a column with data like child, adult, adolescent.
 
Upvote 0
Yes I am having trouble doing a rows count on a column with data like child, adult, adolescent.

The example in the picture does not work for you?


So what data do you have and what do you want as a result?
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,205
Members
452,618
Latest member
Tam84

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