Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I know how to use the & symbol to combine cell references with text, but i am having trouble getting this to work when the 2 cells i am referencing are dates. For instance, lets say cell A1 is 11/15/05, and cell A2 is 3/21/06 and i would like cell A3 to say November - 05 to March - 06. I have tried =A1&" to "&A2 But i keep getting a #value error, any ideas? -- mattflow ------------------------------------------------------------------------ mattflow's Profile: http://www.excelforum.com/member.php...o&userid=25129 View this thread: http://www.excelforum.com/showthread...hreadid=490836 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
=TEXT(A1,"mmmm - yy")&" To "&TEXT(A2,"mmmm - yy") -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "mattflow" wrote in message ... I know how to use the & symbol to combine cell references with text, but i am having trouble getting this to work when the 2 cells i am referencing are dates. For instance, lets say cell A1 is 11/15/05, and cell A2 is 3/21/06 and i would like cell A3 to say November - 05 to March - 06. I have tried =A1&" to "&A2 But i keep getting a #value error, any ideas? -- mattflow ------------------------------------------------------------------------ mattflow's Profile: http://www.excelforum.com/member.php...o&userid=25129 View this thread: http://www.excelforum.com/showthread...hreadid=490836 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Keep in mind...DATES are not TEXT. You need to convert: For: A1: 11/15/2005 B1: 3/21/2006 C1: =TEXT(A1,"mmmm - dd")&" to "&TEXT(B1,"mmmm - dd") Returns November - 15 to March - 21 Does that help? Ron -- Ron Coderre ------------------------------------------------------------------------ Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419 View this thread: http://www.excelforum.com/showthread...hreadid=490836 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=TEXT(A1,"mmmm - yy")&" to "&TEXT(A2,"mmmm - yy")
to get a result like this... November - 05 to March - 06 I don't know why you would get the #value error with your formula. I get something like this... 38671 to 38797 "mattflow" wrote: I know how to use the & symbol to combine cell references with text, but i am having trouble getting this to work when the 2 cells i am referencing are dates. For instance, lets say cell A1 is 11/15/05, and cell A2 is 3/21/06 and i would like cell A3 to say November - 05 to March - 06. I have tried =A1&" to "&A2 But i keep getting a #value error, any ideas? -- mattflow ------------------------------------------------------------------------ mattflow's Profile: http://www.excelforum.com/member.php...o&userid=25129 View this thread: http://www.excelforum.com/showthread...hreadid=490836 |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() =TEXT(A1,"mmmm - dd")&" to "&TEXT(A2,"mmmm - dd") That did it, thanks guys! -- mattflow ------------------------------------------------------------------------ mattflow's Profile: http://www.excelforum.com/member.php...o&userid=25129 View this thread: http://www.excelforum.com/showthread...hreadid=490836 |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks for the feed-back, but ... just so you realize ...
you asked for: " - yy" But you seem to have accepted: " - dd". -- Regards, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "mattflow" wrote in message ... =TEXT(A1,"mmmm - dd")&" to "&TEXT(A2,"mmmm - dd") That did it, thanks guys! -- mattflow ------------------------------------------------------------------------ mattflow's Profile: http://www.excelforum.com/member.php...o&userid=25129 View this thread: http://www.excelforum.com/showthread...hreadid=490836 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Possible Lookup Table | Excel Worksheet Functions | |||
Flexible Cell Reference | Excel Discussion (Misc queries) | |||
how to create a variable column in cell reference | Excel Worksheet Functions | |||
How to get a cell reference of by searchig a text string? | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions |