Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a spreadsheet that tallies age from dates of birth.
What I want to be able to do is group the ages in column K into age groups in column L, i.e. 16-20, 21-30, 31-40, 41-50, 51-60, 61-70, 71-80. I need very straightforward, step-by-step, no-jargon instructions as to how to do this please! Thank you... |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Set up a simple two-column table like this, perhaps starting in X1:
0 U16 16 16-20 21 21-30 31 31-40 41 41-50 51 51-60 61 61-70 71 71-80 81 80+ so that it occupies X1:Y9. Then put this formula in L2: =VLOOKUP(K2,X$1:Y$9,2) assuming your first row of data is row 2. Then copy this formula down for as many ages as you have. Hope this helps. Pete On Apr 22, 11:01*am, Donna wrote: I have a spreadsheet that tallies age from dates of birth. * What I want to be able to do is group the ages in column K into age groups in column L, i.e. 16-20, 21-30, 31-40, 41-50, 51-60, 61-70, 71-80. I need very straightforward, step-by-step, no-jargon instructions as to how to do this please! Thank you... |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you - success at last!
Much appreciated, Pete. "Pete_UK" wrote: Set up a simple two-column table like this, perhaps starting in X1: 0 U16 16 16-20 21 21-30 31 31-40 41 41-50 51 51-60 61 61-70 71 71-80 81 80+ so that it occupies X1:Y9. Then put this formula in L2: =VLOOKUP(K2,X$1:Y$9,2) assuming your first row of data is row 2. Then copy this formula down for as many ages as you have. Hope this helps. Pete On Apr 22, 11:01 am, Donna wrote: I have a spreadsheet that tallies age from dates of birth. What I want to be able to do is group the ages in column K into age groups in column L, i.e. 16-20, 21-30, 31-40, 41-50, 51-60, 61-70, 71-80. I need very straightforward, step-by-step, no-jargon instructions as to how to do this please! Thank you... |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're welcome, Donna - thanks for feeding back.
What you can also do now is to put this formula in Z1: =COUNTIF(L:L,Y1) and then copy this down to Z9. It will give you a count of each category - no need for a pivot table. Hope this helps. Pete On Apr 22, 12:22*pm, Donna wrote: Thank you - success at last! Much appreciated, Pete. "Pete_UK" wrote: Set up a simple two-column table like this, perhaps starting in X1: 0 * * * U16 16 * * 16-20 21 * * *21-30 31 * * *31-40 41 * * *41-50 51 * * *51-60 61 * * *61-70 71 * * *71-80 81 * * *80+ so that it occupies X1:Y9. Then put this formula in L2: =VLOOKUP(K2,X$1:Y$9,2) assuming your first row of data is row 2. Then copy this formula down for as many ages as you have. Hope this helps. Pete On Apr 22, 11:01 am, Donna wrote: I have a spreadsheet that tallies age from dates of birth. * What I want to be able to do is group the ages in column K into age groups in column L, i.e. 16-20, 21-30, 31-40, 41-50, 51-60, 61-70, 71-80. I need very straightforward, step-by-step, no-jargon instructions as to how to do this please! Thank you...- Hide quoted text - - Show quoted text - |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Even better - brilliant.
Thanks. "Pete_UK" wrote: You're welcome, Donna - thanks for feeding back. What you can also do now is to put this formula in Z1: =COUNTIF(L:L,Y1) and then copy this down to Z9. It will give you a count of each category - no need for a pivot table. Hope this helps. Pete On Apr 22, 12:22 pm, Donna wrote: Thank you - success at last! Much appreciated, Pete. "Pete_UK" wrote: Set up a simple two-column table like this, perhaps starting in X1: 0 U16 16 16-20 21 21-30 31 31-40 41 41-50 51 51-60 61 61-70 71 71-80 81 80+ so that it occupies X1:Y9. Then put this formula in L2: =VLOOKUP(K2,X$1:Y$9,2) assuming your first row of data is row 2. Then copy this formula down for as many ages as you have. Hope this helps. Pete On Apr 22, 11:01 am, Donna wrote: I have a spreadsheet that tallies age from dates of birth. What I want to be able to do is group the ages in column K into age groups in column L, i.e. 16-20, 21-30, 31-40, 41-50, 51-60, 61-70, 71-80. I need very straightforward, step-by-step, no-jargon instructions as to how to do this please! Thank you...- Hide quoted text - - Show quoted text - |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Glad to be of help.
Pete On Apr 22, 1:53*pm, Donna wrote: Even better - brilliant. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I name a group of ranges? | Excel Discussion (Misc queries) | |||
How do I copy a group of worksheets with named ranges in Excel 200 | Excel Worksheet Functions | |||
Pivot table/chart - can I use data ranges? why will it not group d | Charts and Charting in Excel | |||
How do I group worksheets (Lotus 123 function is "Sheet>Group Shee | Excel Worksheet Functions | |||
How do I group data using defined ranges? | Excel Worksheet Functions |