# Formula to change a month to a specific date within that month

1. ## Formula to change a month to a specific date within that month

Hi,

Just wondered is there a way of converting a date i.e. 01/03/2016 to a specific day in that month so 25/03/2016 and repeat this every year going forward. See attached file.

Thanks

S

2. ## Re: Formula to change a month to a specific date within that month

One way:

=DATE(YEAR(D5),MONTH(D5),VLOOKUP(TEXT(D5,"MMMM"),\$B\$11:\$C\$14,2,FALSE))

copied across.

3. ## Re: Formula to change a month to a specific date within that month

You can use this formula in D7:

=DATE(YEAR(D5),MONTH(D5),VLOOKUP(TEXT(D5,"mmmm"),\$B\$11:\$C\$14,2,0))

then copy across as required.

Hope this helps.

Pete

4. ## Re: Formula to change a month to a specific date within that month

In D11 copied across and down:

=D\$5+\$C11-1

5. ## Re: Formula to change a month to a specific date within that month

D7=IFERROR(DATE(YEAR(D\$5),MONTH(D\$5),INDEX(\$C\$11:\$C\$14,MATCH(MONTH(D\$5),MONTH(\$B\$11:\$B\$14&0),0))),"")

Copy across

6. ## Re: Formula to change a month to a specific date within that month

Thanks all appreciate the replies

7. ## Re: Formula to change a month to a specific date within that month

If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

You might also like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

Pete

##### Users Browsing this Thread

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