Date formula do not work in Machines with american date format

I had this question after viewing how to generate quarters with formulas in Excel.

I had this solution by Alan and it only works if the windows regional setting date format is DD/MM/YY european
i open in a machine with american date format MM/DD/YY then formula return blank and if i remove IFERROR then it is VALUE error.

how can this be fixed that can work with both or if at least if it can work with american date format.

thanks.
EE-29068235-Version1.xlsx
LVL 6
FloraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ejgil HedegaardCommented:
Try attached where all quarters are based on the dates in column A and B.
If you want to display with American date formats, use the formula in C14.
Copy to C2 and down and across.
Flora-Quarters-EE-29068235-Version1.xlsx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FloraAuthor Commented:
thank you very much
0
Rob HensonFinance AnalystCommented:
As per answer to the previous question, it is a simple solution of switching the format in my suggestion:

Previous
=TEXT(EOMONTH($A2,3),"dd/mm/yyyy")&" - "&TEXT(EOMONTH($A2,5),"dd/mm/yyyy")

US Format
=TEXT(EOMONTH($A2,3),"mm/dd/yyyy")&" - "&TEXT(EOMONTH($A2,5),"mm/dd/yyyy")

As before, change the bolded numbers as you copy across, or refer to cells containing the numbers
3 & 5
6 & 8
9 & 11

See attached, I have copied the file uploaded by Ejgil but replaced the formulas with mine. I have also inserted a row above the data into which I have added the numbers for the month offset and in B1 there is an option to add US or UK and the date format will adjust.
Flora-Quarters-EE-29068235-Version1.xlsx
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.