What would the formula be for.....

03/22/18 Edited 12/09/19

I need to sum or count the number of people in my sheet that are under 17 and over 65, based on who is checked.  Can I do this using a cross sheet formula so all my totals are together?  I have both DOB and age columns - can the formula be on the age column or do I need a value column to set age parameters?  

Comments

  • Mike WildayMike Wilday ✭✭✭✭✭

    =countifs(age:age, "> 65") will give you the age of everyone greater than 65

    =countifs(age:age, "<17") will givey you the age of everyone younger than 17. 

    You can use a reference from another sheet. Check out my animated gif to see how. 

    2018-03-22_12-24-47.gif

  • Mike WildayMike Wilday ✭✭✭✭✭

    When you reference another sheet you will be able to set up a range from the sheet to pull into your new sheet. If you want the total number of people Over 65 and under 17 you can add the two countifs together. =countifs(age:age, "> 65")+countifs(age:age, "<17")

Sign In or Register to comment.