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
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
One way:
=DATE(YEAR(D5),MONTH(D5),VLOOKUP(TEXT(D5,"MMMM"),$B$11:$C$14,2,FALSE))
copied across.
Glenn
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
In D11 copied across and down:
=D$5+$C11-1
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.
Forum Rules (updated September 2018): please read them here.
How to use the Power Query code you've been given: help here. More about the Power suite here.
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
Thanks all appreciate the replies
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks