ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   help with formula (https://www.excelbanter.com/excel-discussion-misc-queries/104050-help-formula.html)

Richard

help with formula
 
Results in cell "A3".... If "B16" start date < 90 days, then "H4" vacation
days = "0", If "B16" start date is 90 but < 1 year then "H2" X Today() -
"B16", If "B16" = 1-5 years then 10 days, If "B16" = 6-10 years then 15 days,
If "B16" = 11+ years then 20 days. Here's what I have now but it lacks the <
90 days and the "H2" &" H4" part.
=IF(DATEDIF(B16,TODAY(),"Y")11,20,VLOOKUP(DATEDIF (B16,TODAY(),"Y"),K:L,2,0))


All times are GMT +1. The time now is 10:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com