So what I am looking to do in excel is build a calculations date table that works off numbers only, no slash marks, no dashes.
=RIGHT(H188,2)-RIGHT(G188,2)
The purpose of this calculation is to take the date 20171102 and minus it from 20171209 but here is where it gets tricky... I need the calculation to add one more day for every calculation... but if the day falls under a saturday or sunday, i need the data to deduct the date from the calculation... i also need the data to add only days, not by the hundreds but by the calendar dates only. If excel was to do =H188-G188, this would give me negative thirty seven ( -37 ) and I do not want the column to display any negatives period. I also want the ability to add an additional column as additional dates in case the person would want to later change the approved date which would change the days taking off work authorizing a new calculation. for example... IF I188 was 20140102 but H188 is 20131201 and G188 is 20131229 then the days taken would be an additional +3 to include 20140101 but since that is a holiday, the date shouldn't be counted.
Is this possible in an excel spreadsheet? The code what i have above is sufficient but I need help completing it. Thank you.
Bookmarks