Forum Discussion
Time reset new date
- Jul 25, 2020
The answer to your question is a definitive "Yes"
For example, if your days are in column A, and A5 starts a new day (i.e., isn't the same as A4) then this formula will set B5 to 9:00 a.m.
=IF(A5<>A4,TIME(9,0,0))
But it would help me or somebody else here give a more, uh, detailed answer if you gave a little more details on how your spreadsheet is laid out.
Ideally, post a copy of the spreadsheet itself (without any confidential info).
The answer to your question is a definitive "Yes"
For example, if your days are in column A, and A5 starts a new day (i.e., isn't the same as A4) then this formula will set B5 to 9:00 a.m.
=IF(A5<>A4,TIME(9,0,0))
But it would help me or somebody else here give a more, uh, detailed answer if you gave a little more details on how your spreadsheet is laid out.
Ideally, post a copy of the spreadsheet itself (without any confidential info).
- DalehabJul 26, 2020Copper ContributorThanks for the reply mathetes.
I'm using the spreadsheet to populate a calendar. Column A is the address, B is start date, C is End date, D start time, E is End time.- DalehabJul 26, 2020Copper ContributorI should also add, I then need the same data in the below rows to calculate in half hour intervals, which I am using the formula =D1+0.5*(1/24)
- mathetesJul 26, 2020Silver Contributor
A more specifically Excel-Time based way to do that is
=D1+TIME(,30,)
In that way you could easily change your intervals to any increment of minutes desired.The syntax is
TIME(hours,minutes,seconds)(I read yesterday that one of the US Presidents, trained as an engineer and fanatical for efficiency, set his meeting calendar up for 8 minute intervals. Of course, 60 minutes don't divide into 8 minute intervals; so maybe he had a four minute break in there each hour)