Front Office Football Central  

Go Back   Front Office Football Central > Main Forums > Off Topic
Register FAQ Members List Calendar Mark Forums Read Statistics

Reply
 
Thread Tools
Old 08-03-2015, 06:06 PM   #1
JeeberD
General Manager
 
Join Date: Nov 2002
Location: The Town of Flower Mound
Excel Question

OK, Excel gurus, I'm doing an amazingly fun I9 audit at work and would like to automate the process at least a little bit.

Once an employee is terminated, you have to retain their I9 for 3 years from their hire date or one year from their termination date...whichever is longer.

If I have one column with their hire date and the next column with their termination date, what would be the easiest way to have the next column show the date that the I9 needs to be retained until?

I'm pretty much an Excel n00b, so please go easy on me if there's a simple solution to this. I would Google it, like I usually do for Excel questions, put I'm not sure how to phrase it for a search.

Thanks in advance!
__________________
UTEP Miners!!!

I solemnly swear to never cheer for TO

JeeberD is offline   Reply With Quote
Old 08-03-2015, 06:09 PM   #2
cartman
Death Herald
 
Join Date: Nov 2000
Location: Le stelle la notte sono grandi e luminose nel cuore profondo del Texas
check out the iif command. I think that is in Excel. (yes, that is two i's in the command)

edit: in Excel, I guess it is just 'if'
__________________
Thinkin' of a master plan
'Cuz ain't nuthin' but sweat inside my hand
So I dig into my pocket, all my money is spent
So I dig deeper but still comin' up with lint

Last edited by cartman : 08-03-2015 at 06:13 PM.
cartman is offline   Reply With Quote
Old 08-03-2015, 06:22 PM   #3
Ironhead
College Prospect
 
Join Date: Apr 2004
Location: New Jersey
Haven't tested this but it should work. Assuming the hire date is in cell B2 and the term date is in cell C2.

If the rule is measured in days:
=MAX(B2+(365.25*3),C2+365.25)


If the rule is measured strictly in calendar years:
=MAX(date(year(B2)+3,month(B2),day(B2)),date(year(C2)+1,month(C2),day(C2))


This will likely give you a number which is the way dates are really stored in excel. Just format the cell back to a date and you should be okay.

Last edited by Ironhead : 08-03-2015 at 06:34 PM.
Ironhead is offline   Reply With Quote
Old 08-04-2015, 08:45 AM   #4
JeeberD
General Manager
 
Join Date: Nov 2002
Location: The Town of Flower Mound
Thank you both. Ironhead, that second forumula is exactly what I needed! I appreciate the help.
__________________
UTEP Miners!!!

I solemnly swear to never cheer for TO
JeeberD is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT -5. The time now is 02:10 AM.



Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.