An Excel for calculating the days off of my work.

dkar75

New Member
Joined
Jun 29, 2021
Messages
8
Office Version
  1. 2016
Platform
  1. Windows
Dear All,

I want to create an Excel file to calculate automatically the Days off of my work for the year 2024.
It's really very tricky and I can't do it myself and I will need your help!

As you can see in the image I send, I have 25 days per year.
So I create an Excel to calculate the total days I have, the days I have already take and the days left of.

In the cell C4 till cell C13 I put the days I take (1 or more days).

In the cell H1 is the days off I took till today.
So for a blank sheet should remain 0.
Here is the tricky thing.
If I put in the cell C4 1 or more days the cell H1 should remain 0 because it's my first apply for day off and I haven't apply for a day off yet.
For example.

If I put 1 day off in the cell C4 the cell H1 should remain 0, the cell H2 should remain 25 and the cell C3 must show 24 days left.
Let's assume the I put another apply for days off in the following cells.
If I put for example 5 days off in the cell C5 the column H should appears like the following:

H1 = 1
H2 = 24
H3 = 19

If I put 4 days in the cell C6 the H column should appears like:

H1 = 6
H2 = 19
H3 = 15

I hope to understand the logic of this.
Can you please anyone help me how to do this?

Thank you very very much!!!

PS) Excuse me for my English!
 

Attachments

  • Capture.JPG
    Capture.JPG
    76.4 KB · Views: 15

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
"If I put 1 day off in the cell C4 the cell H1 should remain 0, the cell H2 should remain 25 and the cell C3 must show 24 days left."

C3 is blank. Do you mean C2 ?
 
Upvote 0
"If I put 1 day off in the cell C4 the cell H1 should remain 0, the cell H2 should remain 25 and the cell C3 must show 24 days left."

C3 is blank. Do you mean C2 ?
Hello,
Thank you very much for your answer.
No I mean the C4 cell (no the C3 or C2).
In each cell from C4 to C13 I put a number.
This number represents the days I take my Day off.

Please let me know if you want additional information.
 
Upvote 0
Can anyone please help me with this excel problem?
Thanks!
 
Upvote 0

Forum statistics

Threads
1,215,072
Messages
6,122,966
Members
449,094
Latest member
Anshu121

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