Calculation PTO And Vacation Time based on Work Anniversary Date

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
@PlanetFitness ,

Welcome to the forum.

Many forum users here do not like to click links from new users (At least I don't, too much risk of trojans for me).
If possible can you use the xl2bb add in (link below) to post a mini workbook (anonymized or PII removed)?
If you can't do that, can you post the pertinient columns in a table?

Thanks for helping the forum help you.
 
Upvote 0
2023 PTO Tracker GYMS-Chez-PC-10 UPDATED 3.22.23.xlsx
H
135
Legend-Employee ledger
Cell Formulas
RangeFormula
H13H13=IF(C13=0,0,IF($H$3>(C13+1825),15,IF($H$3>(C13+730),10,IF($H$3>(C13+365),5,IF($H$3<C13+365,0)))))
 
Upvote 0
thanks for getting the add in. But you need to select a range of cells before you click to copy.
If you're concerned with privacy, that is understandable.
But, can you say what kind of data is in columns: C and H, and where is the indicator for renewal, I would think that is a Yes/No Value and the formula doesn't look like it compares Yes/No values. C looks like it may be a date. I guess H does too. What are the relationships of those dates? Is one a hire date and another someother kind of date? Or is H3 the renewal date?
 
Upvote 0
Im still figuring out the ADd On correctly. Column C is their Hire Date , Cell H3 is todays date. Do I need a seperate column for when they renew for PTO and VACATION time? We needa formula that can 1) count the amount of time alloted 2) count when their bank renews?
 
Upvote 0
Im still figuring out the ADd On correctly. Column C is their Hire Date , Cell H3 is todays date. Do I need a seperate column for when they renew for PTO and VACATION time? We needa formula that can 1) count the amount of time alloted 2) count when their bank renews?
well, you copied a few cells correctly, just highlight more cells. (also, its generally best practice to select all the options for what to paste: Cell Formatting, Conditional Formatting, Data Validation, and Named Ranges. Also copy as mini sheet and not table.

I'm not sure about extra columns I'm just looking at this! :) I'll have a better idea when I see the data sample.
 
Upvote 0
how do i reopen the add on? it does not appear anymore on the top of my excel work book? So sorry
 
Upvote 0
mmm. Go to FILE>> OPTIONS >> ADD INS >> in the Manage box... "excel Add ins" click GO then click the box beside xl2bb Add in.
 
Upvote 0
2023 PTO Tracker GYMS-Chez-PC-10 UPDATED 3.23.23 RINA EDITS.xlsx
CDEFGH
3Current Date3/24/2023
4
5
6
7
8
9Management Start Date Years of service PTOVacation
103/6/2023000
113/6/2023000
1212/27/20212815
136/21/2021205
148/10/2022100
152/19/2023000
Legend-Employee ledger
Cell Formulas
RangeFormula
H3H3=TODAY()
G10,G15,G12G10=IF(C10=0,0,IF($H$3>C10+91,8,0))
H13:H15,H10:H11H10=IF(C10=0,0,IF($H$3>(C10+1825),15,IF($H$3>(C10+730),10,IF($H$3>(C10+365),5,IF($H$3<C10+365,0)))))
G11G11=IF(C11=0,0,IF($H$3<1+91,8,0))
H12H12=IF(E12=0,0,IF($H$3>(E12+1825),15,IF($H$3>(E12+730),10,IF($H$3>(E12+365),5,IF($H$3<E12+365,0)))))
G13:G14G13=IF(C13=0,0,IF($H$3<C13+91,8,0))
E10:E15E10=DATEDIF(C10,TODAY(),"y")+(TODAY()<DATE(YEAR(TODAY()),MONTH(C10),DAY(C10)))
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,204
Members
453,022
Latest member
RobertV1609

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