+ Reply to Thread
Results 1 to 9 of 9

Calculate school grade based on date of birth

  1. #1
    Registered User
    Join Date
    10-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Calculate school grade based on date of birth

    I am trying to fiqure out a formula to calculate a school grade based on the date of birth. I have a formula that will calcuate based on today's date but I cannot seem ti fiqure out how to change that to a fixed time frame such as 9/1/2013 - 6/30/14. Any help would be apreciated.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculate school grade based on date of birth

    What's the formula that you use successfully with today's date?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Calculate school grade based on date of birth

    I am attaching an excel spreadsheet with the formula's contained. I tried to change the date from todays date to a parameter of dates 9/1/13-6/30/14 and I keep getting an error. I am a novice at this.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Calculate school grade based on date of birth

    See the attached file.

    Dutch =ALS(D5="";"";VERT.ZOEKEN(D5;Database!$A$3:$C$15;3;WAAR))

    English=if(D5="","",VLOOKUP(D5,Database!$A$3:$C$15,3,TRUE))

    I change the red collored text in your formula.

    I put the formula in differant cells (the green ones) so you can see the differance.

    Please reply.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,702

    Re: Calculate school grade based on date of birth

    Isn't the school grade based on age at a certain date? For example if you are aged 5 on 1st September then you are in Year 1 for the coming year

    This formula will give you the grade based on that logic, without using a table

    =TEXT(DATEDIF(C5,DATE(YEAR(B$1+122)-5,9,1),"y"),"""Year ""0;0;""Pre School""")

    If you use that formula then grades will only alter when 1st September 2014 comes around. You may want those to alter earlier, e.g. up to 30th June you show the current/previous year grade, on or after 1st July you get the following year's grade. You can adjust the 122 figure to control that - so if you want 1st July as that cutoff change 122 to 184 (it's the number of days from the chosen date until the end of the year)
    Audere est facere

  6. #6
    Registered User
    Join Date
    10-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Calculate school grade based on date of birth

    Thank you this works for me. Much appreciated

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Calculate school grade based on date of birth

    @RegionV

    since you got 2 answers it is always good to add to whom you're replying.

  8. #8
    Registered User
    Join Date
    10-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Calculate school grade based on date of birth

    Oledere thank you it works.

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Calculate school grade based on date of birth

    @RegionV

    Did you also test the formula in #5 of daddylonglegs?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula to Calculate Age based on date of birth
    By Squint in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-25-2013, 10:05 PM
  2. Calculate from Date of Birth
    By tdg0007 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-10-2013, 02:47 PM
  3. formula to calculate age using birth date and current date
    By lalah in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2005, 06:55 PM
  4. [SOLVED] How can I calculate age using a birth date in Excel?
    By Gerald in forum Excel General
    Replies: 2
    Last Post: 07-29-2005, 07:16 AM
  5. Replies: 2
    Last Post: 05-17-2005, 11:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1