Display Friday before if weekend, or Friday after if not?

taeleon

New Member
Joined
Sep 9, 2014
Messages
2
How would I get Excel to show a date that is either the Friday before if a weekend or the Friday after if not?

For example.

If I enter 26/08/14 the formulated cell would see this is not a weekend so choose the next Friday which is the 29th August. If however I entered 26/09/14 it would see this is a Friday so would just show the same date. If I entered 26/10/14 it would see this is a Sunday so choose the Friday before which is the 24/10/14.

Thanks.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
How would I get Excel to show a date that is either the Friday before if a weekend or the Friday after if not?

For example.

If I enter 26/08/14 the formulated cell would see this is not a weekend so choose the next Friday which is the 29th August. If however I entered 26/09/14 it would see this is a Friday so would just show the same date. If I entered 26/10/14 it would see this is a Sunday so choose the Friday before which is the 24/10/14.
What do you want to get if the given date is a Friday?
 
Upvote 0

Forum statistics

Threads
1,223,491
Messages
6,172,589
Members
452,468
Latest member
godlennutrition

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top