#1   Report Post  
tkaplan
 
Posts: n/a
Default date formatting?


I have a cell named PeriodStart.
In a different cell i want it to say "MON" followed by the date of
PeriodStart+3 in the format of m/d. So for example is period start is
8/1/2005, i want the cell to say "MON 8/4"
I did concatenate("MON ",PeriodStart+3) and it's returning MON followed
by the serial number. How do i format the serial number to give me the
date value?

Thank you.


--
tkaplan
------------------------------------------------------------------------
tkaplan's Profile: http://www.excelforum.com/member.php...o&userid=22987
View this thread: http://www.excelforum.com/showthread...hreadid=465916

  #2   Report Post  
Richard Neville
 
Posts: n/a
Default

I don't think you can have two formats in the same cell. How about adding a
second cell after MON, formatted as m/d? The second cell could simply
reference the MON cell, in the format =D7 (assuming MON is C7).

"tkaplan" wrote in
message ...

I have a cell named PeriodStart.
In a different cell i want it to say "MON" followed by the date of
PeriodStart+3 in the format of m/d. So for example is period start is
8/1/2005, i want the cell to say "MON 8/4"
I did concatenate("MON ",PeriodStart+3) and it's returning MON followed
by the serial number. How do i format the serial number to give me the
date value?

Thank you.


--
tkaplan
------------------------------------------------------------------------
tkaplan's Profile:
http://www.excelforum.com/member.php...o&userid=22987
View this thread: http://www.excelforum.com/showthread...hreadid=465916



  #3   Report Post  
Dave O
 
Posts: n/a
Default

Here's one way to do it:
="MON "&TEXT((PeriodStart+3),"m/d")
The TEXT() function displays the numerical date value in the date
format you desire.

However, if MON is meant to indicate Monday, your period may not always
start on the prior Friday. If you need to capture the 3-letter
abbreviation in your formula, use this:
=TEXT(PeriodStart+3,"ddd")&" "&TEXT((PeriodStart+3),"m/d")

  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=TEXT(A1+3,"\MON m/d")

In article ,
tkaplan wrote:

I have a cell named PeriodStart.
In a different cell i want it to say "MON" followed by the date of
PeriodStart+3 in the format of m/d. So for example is period start is
8/1/2005, i want the cell to say "MON 8/4"
I did concatenate("MON ",PeriodStart+3) and it's returning MON followed
by the serial number. How do i format the serial number to give me the
date value?

Thank you.

  #5   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Since 8/4/2005 was a Thursday, I 'm pretty sure that's not what the OP
intended, but if it were, it would be a bit simpler to use

=UPPER(TEXT(A1+3,"ddd m/d"))

In article . com,
"Dave O" wrote:

Here's one way to do it:
="MON "&TEXT((PeriodStart+3),"m/d")
The TEXT() function displays the numerical date value in the date
format you desire.

However, if MON is meant to indicate Monday, your period may not always
start on the prior Friday. If you need to capture the 3-letter
abbreviation in your formula, use this:
=TEXT(PeriodStart+3,"ddd")&" "&TEXT((PeriodStart+3),"m/d")

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
Conditional Formatting, date. DissentChick Excel Worksheet Functions 2 July 20th 05 03:37 PM
Date formatting problem Anne CFS Excel Discussion (Misc queries) 1 July 19th 05 01:31 PM
Conditional formatting of date cebubum Excel Discussion (Misc queries) 4 June 28th 05 03:27 AM
Incorrect Date formatting dionne_w Excel Discussion (Misc queries) 2 February 22nd 05 09:31 PM
Conditional Formatting (Date vs Number) [email protected] Excel Discussion (Misc queries) 7 December 20th 04 10:23 PM


All times are GMT +1. The time now is 04:53 PM.

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"