Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Displaying two dates in excel

I am trying to display two dates in one cell in excel.

I have used the formula :

=DATE(YEAR(NOW()),MONTH(NOW()),I1) & " & " & DATE(YEAR(NOW()),MONTH(NOW()),I15)

Where the values of I1 and I15 are 1 and 15 respectively. The reason I chose this formula is becasue I want each date to diplay the 1st and the 15th of the current month. I would like this cell to read "7/1/12 & 7/15/12" however right now the current formula is giving me "41091 & 41105" I have formated the cell to display the correct date format that I want. Is there a way to fix this?
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by pooljunkie912 View Post
I am trying to display two dates in one cell in excel.

I have used the formula :

=DATE(YEAR(NOW()),MONTH(NOW()),I1) & " & " & DATE(YEAR(NOW()),MONTH(NOW()),I15)

Where the values of I1 and I15 are 1 and 15 respectively. The reason I chose this formula is becasue I want each date to diplay the 1st and the 15th of the current month. I would like this cell to read "7/1/12 & 7/15/12" however right now the current formula is giving me "41091 & 41105" I have formated the cell to display the correct date format that I want. Is there a way to fix this?
Hi, How about:

=TEXT(DATE(YEAR(NOW()),MONTH(NOW()),I1),"MM/DD/YY") & " & " & TEXT(DATE(YEAR(NOW()),MONTH(NOW()),I15),"MM/DD/YY")
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
Dates displaying as General Data TOMD Excel Discussion (Misc queries) 2 February 5th 07 11:56 PM
Displaying text during a range of dates RS Excel Worksheet Functions 5 January 2nd 07 03:47 PM
Chart Displaying Dates and Intervals. Andy Charts and Charting in Excel 0 March 20th 06 10:01 AM
How do I get the dates on an excel chart to stay as dates instead. Rani Charts and Charting in Excel 1 September 20th 05 05:56 PM
Displaying Dates Rob Charts and Charting in Excel 1 July 26th 05 12:57 PM


All times are GMT +1. The time now is 10:47 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"