ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Date Display (https://www.excelbanter.com/excel-discussion-misc-queries/172070-date-display.html)

Mike H.

Date Display
 
I want to have a cell display on the screen this:
Note: No Posting before Wednesday, January 2, 2008

and the cell would be the next "Note: No Posting before " concatenated with
a cell that has the date in it. But I can't get the formatting right. Can
someone help!

Mike H

Date Display
 
Try this with a date in A2

="No posting before " &
CHOOSE(WEEKDAY(A2),"Sunday","Monday","Tuesday","We dnesday","Thursday","Friday","Saturday") &" "& TEXT( A2, "mmm,dd,yyyy")

Mike

"Mike H." wrote:

I want to have a cell display on the screen this:
Note: No Posting before Wednesday, January 2, 2008

and the cell would be the next "Note: No Posting before " concatenated with
a cell that has the date in it. But I can't get the formatting right. Can
someone help!


Stefi

Date Display
 
Why not
="No posting before " & TEXT( A2,"dddd,,mmm,dd,yyyy")
Regards,
Stefi


€˛Mike H€¯ ezt Ć*rta:

Try this with a date in A2

="No posting before " &
CHOOSE(WEEKDAY(A2),"Sunday","Monday","Tuesday","We dnesday","Thursday","Friday","Saturday") &" "& TEXT( A2, "mmm,dd,yyyy")

Mike

"Mike H." wrote:

I want to have a cell display on the screen this:
Note: No Posting before Wednesday, January 2, 2008

and the cell would be the next "Note: No Posting before " concatenated with
a cell that has the date in it. But I can't get the formatting right. Can
someone help!



All times are GMT +1. The time now is 01:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com