View Single Post
 
Old 06-11-2023, 09:29 PM
stricky stricky is offline Windows 10 Office 2019
Novice
 
Join Date: Jun 2023
Location: Bangladesh
Posts: 25
stricky is on a distinguished road
Default

Quote:
Originally Posted by p45cal View Post
In the attached cell AM1 contains your start date (which you can adjust).
Cell A3 contains a formula which uses AM1 to create the first date.
Then in cell A20 there is:
Code:
=IF(COUNTIF($A$3:$A19,$A3)>1,"Date: " & TEXT(DATE(RIGHT($A3,4),MID($A3,10,2),MID($A3,7,2))+1,"dd/mm/yyy"),$A3)
This can be copied to every 17th row as has been done in the attached.

Sorry for replying from another id I lost password for that a/c (redirected_math)



thanks @p45cal your solution is on the right track for me. but it still doesnt use shift info from A4. i need to change date manually if needed in any of those cells.


say i started A3 at 01/06/23 shift A, then A20 will be 01/06/23 shift B, A37 02/06/23 shift A and so on. then suddenly at A88 (where is 08/06/23 shift B now) i manually to change it to 11/06/23 shift B. so next A105 will automatically be 12/06/23 shift A. how do i do that. your formula doesnt solve that
Attached Files
File Type: xlsx msofficeforums50953sample 1.xlsx (159.7 KB, 3 views)
Reply With Quote