Forum Discussion

tomjohn93's avatar
tomjohn93
Copper Contributor
Oct 03, 2023
Solved

Help with an excel formula involving days of the week

Hello, The Problem I am looking at ways to save time at my job and one of the ways I came up with was using formulas in my spreadsheets instead of inputting all the data manually. The Resolution? ...
  • SanthoshKunder's avatar
    Oct 03, 2023

    tomjohn93 -Please check this !

     

     

    =IF(TEXT(A1,"dddd")="Sunday",A1,A1-(WEEKDAY(A1)-1))
    =IF(TEXT(A1,"dddd")="Saturday",A1,A1+(7-WEEKDAY(A1)))

Resources