Mar 08 2022 04:52 PM
Can someone please help me with the formula for the attached. I got the instructions/info from the group but it doesnt seem to be working. My formula is returning the same level for every student instead of returning which level they are in for their age group listed in colomn G. I want to then total each of the levels and add the total to colomn v
Mar 08 2022 05:44 PM
Mar 08 2022 06:03 PM
Thanks so much for the promp reply @mtarler
I have done that and seem to still have the same problem
I am using Excel 365
Mar 08 2022 06:15 PM
Mar 08 2022 07:06 PM
Mar 08 2022 09:00 PM
@swexcelnurd You can leave the labels in A4:A6 as they are. Try the following formula. It hard-codes the age groups lower boundaries and levels. But since you only have three of such, that's not a big issue.
=LOOKUP(K4,{5,11,17},{1,2,3})
Mar 09 2022 09:17 AM
Solution@swexcelnurd You can use @Riny_van_Eekelen solution which circumvents the whole lookup but if you still want to use a lookup function i have attached your data (copied from your link but the formatting changed a bit) showing that the formula does work. i also added an extra column to give the 'look' of the Age range 5-10, etc..
OR you could use the 2nd column to display the age range "5-10" and hide the first column with the 5, 11, and 17 in it. You could create a formula that would even pull the numbers from your text out, but to me that is just overly complicated for this purpose.
As for why it didn't work for you, i noticed triangles in the age cells. Is it possible those were entered as TEXT instead of numbers? if not those, is it possible the Age column was entered as text? otherwise I'm not sure.
Mar 09 2022 06:36 PM - edited Mar 09 2022 06:38 PM
@BK_Bangkok @Riny_van_Eekelen @mtarler Thank you so so much every one for your help. Very much appreciated !! I am sorted now
Ive learnt so much from your last reply @mtarler
Mar 09 2022 09:17 AM
Solution@swexcelnurd You can use @Riny_van_Eekelen solution which circumvents the whole lookup but if you still want to use a lookup function i have attached your data (copied from your link but the formatting changed a bit) showing that the formula does work. i also added an extra column to give the 'look' of the Age range 5-10, etc..
OR you could use the 2nd column to display the age range "5-10" and hide the first column with the 5, 11, and 17 in it. You could create a formula that would even pull the numbers from your text out, but to me that is just overly complicated for this purpose.
As for why it didn't work for you, i noticed triangles in the age cells. Is it possible those were entered as TEXT instead of numbers? if not those, is it possible the Age column was entered as text? otherwise I'm not sure.