Who Wants to Be MY HERO

kyfung

New Member
Joined
Sep 14, 2011
Messages
3
Hello,

I am stumped on a project I am to complete and was looking for some help with the final area. I have learned a little on some formula's but this one taking a little longer. I am creating a spreadsheet and here is what I need. I will have a list of names and grade level and I need the corresponding grade levels to have the correct graduation date.
example
(column A) (column b) (column c)
1 Name Grade Level Graduation Date
2 Mikey 10 ?????
3 Joey 08 ?????

I need to somehow enable the column for graduation date to have the correct date according to the grade entered in the grade level column. Can not figure out how to do that. The list will contain grade levels 6 thru 12 and each one have the correct graduation date entered automatically upon import information, without having to manually enter the graduation date. Vlookup was mentioned, but can not understand that. Anyway of doing it would be great. Thanks a lot for any and all help.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
It seems like vlookup would be a good option. What you need to do to use vlookup is build a small table to the right of your data with grades in column E and graduation dates in column FThen in your worksheet type = vlookup(B1, E1:F5,2,false)
 
Upvote 0
Thank you for the response. I heard a mention of Vlookup and tried to understand that. Thanks for confirming it. How will this may the graduation column say 2014 for say a 10th grader and 2015 for 9th grader and so on? In my example, the A column would be the name, the B column would be the grade they are in and the C column would be the graduation date. I am hopeful to have the graduation date relate to the seperate grades of the names. Is that still in a way how I would do it as you described? If so, I do not see how it can possibly do it......but I do not have to understand. haha. Thanks for your comment and hope to hear back from you
 
Upvote 0
Here's an example of what millhouse123 has suggested. The lookup table can be put anywhere. (such as on another tab to keep it out of the way)

Keep in mind that this approach will only work for this school year and you would need to make adjustments to the table should you want to use it for the next school year. (Oh, and by the way, it doesn't take into consideration those students that may fail a grade and have to repeat a year.. ha)

Hope this helps.
Book1
ABCDEFG
1NameGradeLevelGraduationDateGradeLevelGraduationDate
2Mikey1005/25/14605/22/18
3Joey605/22/18705/24/17
4Sam705/24/17805/22/16
5Cindy905/26/15905/26/15
6Wendy805/22/161005/25/14
7Tom1105/24/131105/24/13
8Jill1205/25/121205/25/12
9Sandy1205/25/12
10Bob605/22/18
11Tim705/24/17
Sheet2
 
Upvote 0
VLookup seems a bit more than what is needed, and it's only good for the current year.
The following formula uses 2 additional pieces of information, the final grade (assumed to be 12, but in red below in case it's something else), and the month of graduation (assumed to be June, but shown in green in case it's some other month). This way the formula will work without changes, assuming that the students' grade levels are updated by the first of the month following a graduation.
The formula (in C2) is:
Code:
=IF(MONTH(TODAY())>[B][COLOR=seagreen]6[/COLOR][/B],YEAR(TODAY())+([COLOR=red][B]12[/B][/COLOR]-B2)+1,YEAR(TODAY())+([B][COLOR=red]12[/COLOR][/B]-B2))
This copies down to the remaining rows to indicate year of graduation.
Hope that helps,
Cindy
 
Upvote 0

Forum statistics

Threads
1,224,592
Messages
6,179,789
Members
452,942
Latest member
VijayNewtoExcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top