Hi Guys,
Please help me out with the attached file. The dates are in UK format and i just need the correct value to come out of them when I run a pivot. Somehow 10/8/2016 18:03 show me 8-Oct when I convert it.
Hi Guys,
Please help me out with the attached file. The dates are in UK format and i just need the correct value to come out of them when I run a pivot. Somehow 10/8/2016 18:03 show me 8-Oct when I convert it.
Ash
You are misusing the 'call in the cavalry' subforum.
You won't gain any friends, let alone help here doing that.
try this
=DATE(YEAR(A2),DAY(A2),MONTH(A2))
Thanks Alan but this is not working......... the dates highlighted in yellow are a bit different. This data is from a report which gets pulled from Sales Force. And sales force sucks big time in giving out raw data for dates.
Looks like the highlighted data is in some other format...........I don't know which.
so, you've a mixed UK/US dates in Column A?
I can't see a solution, sorry.
Hi Ash,
Please see attached file with corrected dates.
Formula used
Formula:Please Login or Register to view this content.
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
It works!!!!!...........Thank you Sir AlKey
Alan..........I suspect the problem is that some dates are like 12/7/2016 10:20:00 PM while some are like 13/07/2016 11:22............ wherever there is no AM/PM
Wherever there is no AM/PM.......... the formula was giving error............. But AlKey's formula works fine with both kinds of dates/times.
Hey Alan..........my apologies....... i am confused here..........in 4th post the dates in column A are in UK format and with your formula it gets converted to US format.....Its did not work for the ones highlighted in yellow.
or maybe not.............. I just wanted it like this
I concur with AlanY,
I can't see a solution, sorry.
Please consider:
Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .
Some clarity ??
Or just format the column as dates in "dd-mmm-yyyy"
Ok Alan.........your first formula works =DATE(YEAR(A2),DAY(A2),MONTH(A2)) with 'dd-mmm-yyyy' but it gives me #VALUE! wherever the data/time format is different from others(refer post# 8)
So I believe AlKey's formula is a modified version of your formula with IFERROR condition!!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks