Dates

Esraa

New Member
Joined
Oct 30, 2011
Messages
3
Hey.. I want something that would automatically replace a date like : 12/12/2012 with dd= 12 &mm= 12 &yy=2012 .. Any suggestions ??
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
No .. I will try to explain it further .. Im doing an invoice sheet .. Above there is a place for date .. I will write for example : 30/10/2011
And at the end of the invoice i have : Dollar rate calculated as Bank dd= 30 &mm= 10 &yy=2011 is watever
What i want is when i place the date above .. it would appear automatically at the end of the invoice .. Like this .. dd=11 &mm=10 &yy= 2011
 
Upvote 0
No .. I will try to explain it further .. Im doing an invoice sheet .. Above there is a place for date .. I will write for example : 30/10/2011
And at the end of the invoice i have : Dollar rate calculated as Bank dd= 30 &mm= 10 &yy=2011 is watever
What i want is when i place the date above .. it would appear automatically at the end of the invoice .. Like this .. dd=11 &mm=10 &yy= 2011
Do you want this literal string:

dd=11 &mm=10 &yy= 2011

What is dd? Is that the day of the month? Based on your sample date wouldn't dd = 30?
 
Upvote 0
Yes thats what i want to be applied automatically.. When i enter the normal date "30/10/2011" anywhere.
 
Upvote 0
Yes thats what i want to be applied automatically.. When i enter the normal date "30/10/2011" anywhere.
In Message #3 you said...

"Above there is a place for date .. I will write for example : 30/10/2011"

and now in your previous message you say...

"When i enter the normal date "30/10/2011" anywhere"

So which is it... is there a certain cell for the date (it's an invoice, so one would think there is) or did you really mean for it to react to a date typed anywhere? And where is this dd=etc. piece of text supposed to go?
 
Upvote 0
If you have a specific cell for your date (like Biff assumed A2 to be), then here is an alternate formula for you to consider...

=TEXT(A2,"\d\d=d &\m\m=m &\y\y=yyyy")
 
Upvote 0

Forum statistics

Threads
1,224,802
Messages
6,181,048
Members
453,014
Latest member
Chris258

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