How to count a formula?

philky001

Board Regular
Joined
Jun 8, 2005
Messages
111
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.
 

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
7,919
Office Version
2007
Platform
Windows
Check if the following helps you.

 

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
7,919
Office Version
2007
Platform
Windows
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.
 

philky001

Board Regular
Joined
Jun 8, 2005
Messages
111
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.
 

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
7,919
Office Version
2007
Platform
Windows
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?
 

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
7,919
Office Version
2007
Platform
Windows
I'm glad to help you. Thanks for the feedback.
 

Forum statistics

Threads
1,078,437
Messages
5,340,282
Members
399,363
Latest member
farhan11941234

Some videos you may like

This Week's Hot Topics

  • Problem with Radio Button's format control
    I am creating an employee evaluation template (a sample is below) Column A is the category Column B, C D, E and F will be ratings (unacceptable...
  • Last Display on userform to a Listbox
    [CODE=vba] lstdisplay.ColumnCount = 15 lstdisplay.RowSource = "A1:O600000" [/CODE] So when i do this it Displays everything on the sheet i am...
  • Rename and move files to a new location
    Dear all, I have an excel file with the following information. The actual file name is at column A but i want to rename it using the following...
  • Help with True/False Formula
    Hello! Am stumped how to fix this formula, in which my result returns 'True', but it should return False. =IF(AG2=True...
  • Clear extra characters from a provided range of cells
    Dear All, I have following code which gives me desired output to remove extra characters from a provided range. But it takes too much time when...
  • Help with Current and highest streaks
    Hi there, I've just joined the forum and this is my first post. I've already spent quite a bit of time searching the net and this forum for a...
Top