# Rounding a given date up to a specific day of the week

1. ## Rounding a given date up to a specific day of the week

Hi all,

I have just joined this forum looking for help with a formula in Excel 2010:

I have a list of dates that I need to round up to the Friday that follows that particular date.

i.e. If the given date is Friday 23rd November - Thursday 29th November inclusive, the cell should then show Friday 30th November in each case.

Example 1 - In cell A2 I have Fri 23rd Nov, so in B2 I would then require Fri 30th Nov (I'm using UK short date format, i.e. 30/11/2012)
Example 2 - In cell A3 I have Thu 29th Nov, so in B3 I would then require Fri 30th Nov (30/11/2012)
Example 3 - In cell A4 I have Fri 30th Nov, so in B4 I would then require Fri 7th December (07/12/2012)

I would like a formula that would take care of this for a list of dates that I am using, thus rounding the date up to the beginning of a Friday-Thursday working week (bizarre, I know, but that is the requirement)

Any help would be very much appreciated.

Thank you

2. ## Re: Rounding a given date up to a specific day of the week

try..

=A1-WEEKDAY(A1)+6+IF(WEEKDAY(A1)>=6,7,0)

3. ## Re: Rounding a given date up to a specific day of the week

=a1+choose(weekday(a1),5,4,3,2,1,7,6)

4. ## Re: Rounding a given date up to a specific day of the week

one way
=A2+CHOOSE(WEEKDAY(A2,2),4,3,2,1,7,6,5)

5. ## Re: Rounding a given date up to a specific day of the week

Perfect and that was very fast - thank you Ace_XL

6. ## Re: Rounding a given date up to a specific day of the week

Thank you also Jakobshavn and martindwilson

Just goes to show there's more than one way to skin a cat

7. ## Re: Rounding a given date up to a specific day of the week

This formula will also give you the same result

=A1+8-WEEKDAY(A1+2)

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1