Formula to change date value from linked sheet

Accountstep

New Member
Joined
Aug 31, 2010
Messages
17
Hello,
Would you tell me how to do this formula, please?
I want to start the formula with the text of CORR DAR, then use a space and link it to another sheet call that has a short date format, then use a space, a dash, and then link it to the same linked sheet cell that has a text value.
e.g. This is the way they have the formula now:

=CONCATENATE("CORR DAR ",ENTRY!A2,"-",ENTRY!B2)

Where the linked sheet name is ENTRY.

1657228438034.png


The result they're getting in the JE sheet where the formula is is coming out like this:

CORR DAR 44621-715164

We want the result to be CORR DATE 3/1/2022 - 715164.

What is the proper formula, please?

Thank you!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
It is important to understand how Excel stores dates. It actually stores them as numbers, specifically the number of days since 1/0/1900 (change any date to General format and you will see it as Excel does). So dates are really just numbers with special date formats in Excell

Also, when using formulas to references other cells, the formulas will only reference the cells values, not any formatting that has been applied to them.
To get the date format you want, you can use the TEXT function, i.e.
Excel Formula:
=CONCATENATE("CORR DAR ",TEXT(ENTRY!A2,"m/d/yyyy"),"-",TEXT(ENTRY!B2,"m/d/yyyy"))
 
Upvote 0
Solution

Forum statistics

Threads
1,214,839
Messages
6,121,892
Members
449,058
Latest member
Guy Boot

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top