Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Formula using formatted dates

Hi there,

I was wondering if you could use a concatenation formula with a date that is
formatted and still retain the formatted structure.

In one cell I have a date of 1/15/2008 formatted to show Jan-08. I want to
use this date and attach to the end "YTD". I would like the cell to show
Jan-08 YTD. Is that possible?

Thanks!

Amy
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Formula using formatted dates

=TEXT(A1,"mmm-yy")&" YTD"

where A1 holds the date, of course you could format it directly as well

mmm-yy "YTD"




--


Regards,


Peo Sjoblom

"cvgairport" wrote in message
...
Hi there,

I was wondering if you could use a concatenation formula with a date that
is
formatted and still retain the formatted structure.

In one cell I have a date of 1/15/2008 formatted to show Jan-08. I want
to
use this date and attach to the end "YTD". I would like the cell to show
Jan-08 YTD. Is that possible?

Thanks!

Amy



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Formula using formatted dates

Custom format:

mmm-yy" YTD"
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"cvgairport" wrote in message
...
Hi there,

I was wondering if you could use a concatenation formula with a date that
is
formatted and still retain the formatted structure.

In one cell I have a date of 1/15/2008 formatted to show Jan-08. I want
to
use this date and attach to the end "YTD". I would like the cell to show
Jan-08 YTD. Is that possible?

Thanks!

Amy



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula using formatted dates

Try this:

=IF(A1="","",TEXT(A1,"mmm-yy")&" YTD")

--
Biff
Microsoft Excel MVP


"cvgairport" wrote in message
...
Hi there,

I was wondering if you could use a concatenation formula with a date that
is
formatted and still retain the formatted structure.

In one cell I have a date of 1/15/2008 formatted to show Jan-08. I want
to
use this date and attach to the end "YTD". I would like the cell to show
Jan-08 YTD. Is that possible?

Thanks!

Amy



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Formula using formatted dates

They all worked - thanks

"T. Valko" wrote:

Try this:

=IF(A1="","",TEXT(A1,"mmm-yy")&" YTD")

--
Biff
Microsoft Excel MVP


"cvgairport" wrote in message
...
Hi there,

I was wondering if you could use a concatenation formula with a date that
is
formatted and still retain the formatted structure.

In one cell I have a date of 1/15/2008 formatted to show Jan-08. I want
to
use this date and attach to the end "YTD". I would like the cell to show
Jan-08 YTD. Is that possible?

Thanks!

Amy






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Formula using formatted dates

And we all appreciate the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"cvgairport" wrote in message
...
They all worked - thanks

"T. Valko" wrote:

Try this:

=IF(A1="","",TEXT(A1,"mmm-yy")&" YTD")

--
Biff
Microsoft Excel MVP


"cvgairport" wrote in message
...
Hi there,

I was wondering if you could use a concatenation formula with a date
that
is
formatted and still retain the formatted structure.

In one cell I have a date of 1/15/2008 formatted to show Jan-08. I
want
to
use this date and attach to the end "YTD". I would like the cell to
show
Jan-08 YTD. Is that possible?

Thanks!

Amy






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
Formula to count number of time stamps within a range in a column having dates formatted as "custom" Sam Excel Discussion (Misc queries) 3 June 19th 07 12:33 AM
How do I sort dates that are not formatted correctly? curious1 Excel Discussion (Misc queries) 7 November 1st 06 10:14 PM
dates automatically formatted wrong bigajosepi Excel Discussion (Misc queries) 1 August 22nd 06 04:56 AM
Dates formatted as text thekovinc Excel Discussion (Misc queries) 5 February 14th 06 06:49 PM
Dates in Excel - yyyymmdd, not formatted, how do I format this? colin Excel Discussion (Misc queries) 3 September 29th 05 06:45 PM


All times are GMT +1. The time now is 05:59 PM.

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

About Us

"It's about Microsoft Excel"