Listing Dates Between Two Dates

AlphaBax

New Member
Joined
Jul 13, 2018
Messages
2
Administration wants to list the actual dates each employee took off during the year. However, the recording system lists only the first date and the number of total vacation hours.

So I need to get from

Joe Blow9/6/17 75

<tbody>
</tbody>



to

Joe Blow9/6/179/7/179/8/17 (skip the weekend)9/10/17etc

<tbody>
</tbody>



I can convert hours to days and use WORKDAY to tell me the end date, but can I make it list for me all the dates in between?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi,

Try this:

D1=B1
E1 =IFERROR(IF(WEEKDAY(D$1+1)<>7,IF(D$1+COLUMN(A$1)>WORKDAY($B$1,QUOTIENT($C$1/24,1)),"",D$1+1),IF(WORKDAY($B$1,QUOTIENT($C$1/24,1))<D$1+COUNT($D$1:D$1),"",D$1+2)),"")



<d$1+count($d$1:d$1),"",d$1+2)),"")
ABCDEFG
1Joe Blow06/09/177506/09/1707/09/1708/09/1710/09/17

<tbody>
</tbody>
<d$1+count($d$1:d$1),"",d$1+2)),"")< html=""></d$1+count($d$1:d$1),"",d$1+2)),"")<></d$1+count($d$1:d$1),"",d$1+2)),"")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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