Help with Vacation Spreadsheet

Need_HelpFast

New Member
Joined
May 2, 2019
Messages
1
I have a main worksheet that draws info from another worksheet called vacation. Vacation has the amount of vacation time in hours the employees get each year and also vacation carried over from previous year.

Main worksheet has 31 employees and their attendance for each month in 12 tabs (each month) when I put in their hours 1v to 7v (1 to 7 hrs vacation) it subtracts those hours from their total, v subtracts 8 hrs. I can't get it to recognize 15 minute increments. like an employee takes 30 minutes vacation which we normal write as .5v (1/2 hour vacation).

Current formula used is (=COUNTIF(B28:AF28,"V")+COUNTIF(B28:AF28,"7V")*7/8+COUNTIF(B28:AF28,"6V")*6/8+COUNTIF(B28:AF28,"5V")*5/8+COUNTIF(B28:AF28,"4V")/2+COUNTIF(B28:AF28,"3V")*3/8+COUNTIF(B28:AF28,"2V")*2/8+COUNTIF(B28:AF28,"1V")*1/8+COUNTIF(B28:AF28,"PH")
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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