#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tvh tvh is offline
external usenet poster
 
Posts: 11
Default Date Format

I have the following formula in cell A9:

="NDTMTASME001Q-"&BC69&"-"&AG13

which returns: NDTMTASME001Q-40273-1626, however, the 40273 is not correct.
I would like it to be 040510.

I have a date in cell N18 formatted as mm/dd/yyyy (04/05/2010), then I have
cell BC69 set to equal N18, but in the mmddyy (040510)format.

How would I set the BC69 in the formula to read the BC69 cell exactly as it
is formatted?

Thanks...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Date Format

="NDTMTASME001Q-"&TEXT(BC69,"mmddyy")&"-"&AG13
--
David Biddulph


"tvh" wrote in message
...
I have the following formula in cell A9:

="NDTMTASME001Q-"&BC69&"-"&AG13

which returns: NDTMTASME001Q-40273-1626, however, the 40273 is not
correct.
I would like it to be 040510.

I have a date in cell N18 formatted as mm/dd/yyyy (04/05/2010), then I
have
cell BC69 set to equal N18, but in the mmddyy (040510)format.

How would I set the BC69 in the formula to read the BC69 cell exactly as
it
is formatted?

Thanks...



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 269
Default Date Format

replace &BC69& with
&TEXT(BC69,"mmddyy")&

This forces the formula to use the number in the format you desire.
--
If this helps, please remember to click yes.


"tvh" wrote:

I have the following formula in cell A9:

="NDTMTASME001Q-"&BC69&"-"&AG13

which returns: NDTMTASME001Q-40273-1626, however, the 40273 is not correct.
I would like it to be 040510.

I have a date in cell N18 formatted as mm/dd/yyyy (04/05/2010), then I have
cell BC69 set to equal N18, but in the mmddyy (040510)format.

How would I set the BC69 in the formula to read the BC69 cell exactly as it
is formatted?

Thanks...

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
permanent conversion of 1904 date format to 1900 date format Jos Excel Worksheet Functions 4 November 26th 15 02:48 PM
How do I convert dd/mm/yy date format to yyddd Julian date format itzy bitzy[_2_] Excel Worksheet Functions 8 December 11th 09 03:20 AM
Convert european foreign date format to US date format EAL Excel Worksheet Functions 1 May 14th 09 10:02 PM
convert serial date format to normal date format Flagworld Excel Discussion (Misc queries) 3 September 23rd 08 01:32 PM
Convert date + time text format to date format Paul Ho Excel Worksheet Functions 2 May 22nd 07 05:47 PM


All times are GMT +1. The time now is 12:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"