How to set text format for a date in Excel?

Dear Experts

I have a request that column A must be in text format. But at the same time the value must be “MM/dd/yyyy”
image

I try to put 2 set formats as below: 1st custom 2nd text
But it doesn’t work and result turn to sth like: 45504
image
image

Then I try to do it in multiple assignment, but error pop up


image
image

May I know how to do?
Thank you for your advise in advance

HI,

For now, can you try the following expression?

CDate(row("入金日")).ToString("MM/dd/yyyy")

Regards,

@Yoichi Bingo!! Thank you for you quick solution!!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.