Date/hours problem (1 Viewer)

AlaminK

New member
Local time
Today, 05:40
Joined
Apr 2, 2023
Messages
15
Can I ask for your help with a date \ hours problem without using VBA?
 
Last edited:

AlaminK

New member
Local time
Today, 05:40
Joined
Apr 2, 2023
Messages
15
No. But that makes sense. Can you show me the process?
 

Josef P.

Well-known member
Local time
Today, 01:40
Joined
Feb 2, 2023
Messages
847
Oh!, I overlooked that you want to do this in Excel, since your post is in an Access part of the forum. DateAdd is a VBA function.
In Excel, however, simple adding should be sufficient.

StartDateHoursEndDate
5/3/2023 08:001,5= [StartDate] + Hours / 24
= EndDate of line above4....
But maybe I have misunderstood you completely. ;)
 

CJ_London

Super Moderator
Staff member
Local time
Today, 00:40
Joined
Feb 19, 2013
Messages
16,668
would be helpful to see some example data - what are you actually entering? a string saying '9 hours (1 Day and 1 hour)' or two separate columns for the hours - i.e. 9, 23, something else? or perhaps a start time and task time

task.... startDateTime...............timeTaken
A..........21/1/2023 08:00:00.....09:00:00
B..........22/1/2023 09:00:00.....15:00:00 - delay difference between the two startDateTimes
 

Users who are viewing this thread

Top Bottom