MrDB4Excel
Active Member
- Joined
- Jan 29, 2004
- Messages
- 348
- Office Version
- 2013
- Platform
- Windows
I have a sheet showing order dates whereby the “Order Delivery Date” needs to show correctly per the following parameters.
If the day of the week shown in column “L” is Saturday, Sunday, or Monday then the date appearing in column “B” needs to be 5 days hence.
As you can see by the attached Xl2bb Mini Sheet, my formulas only have one condition, namely that L5 = “Saturday” but it gets even more confusing based on the “Day of the Week” number shown in column “I” because in rows 11 to 18 column “I” includes only numbers and as you can see the dates showing in column “B” get to be different than intended in 6 of the 7 instances.
Perhaps there are one or more columns not needed.
Any help will be much appreciated.
If the day of the week shown in column “L” is Saturday, Sunday, or Monday then the date appearing in column “B” needs to be 5 days hence.
As you can see by the attached Xl2bb Mini Sheet, my formulas only have one condition, namely that L5 = “Saturday” but it gets even more confusing based on the “Day of the Week” number shown in column “I” because in rows 11 to 18 column “I” includes only numbers and as you can see the dates showing in column “B” get to be different than intended in 6 of the 7 instances.
Perhaps there are one or more columns not needed.
Any help will be much appreciated.
Cell Formulas | ||
---|---|---|
Range | Formula | |
B12:B18,B5:B8 | B5 | =IF(L5="Saturday",H5+5,K5) |
C12:C18,C5:C8 | C5 | =TEXT(D5,"mmm/dd/yyyy ")&TEXT(E5,"hh:mm:ss") |
D12:D18,D5:D8 | D5 | =H5 |
K12:K18,K5:K8 | K5 | =SUM($H5+$I5) |
L12:L18,L5:L8 | L5 | =TEXT(K5,"dddd") |
I5:I8 | I5 | =WEEKDAY(H5,2) |