Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Concatenate with the formula values

When I, concatenate the values of two cells, Cell A1 contains the text
"Payables for the month of " & Cell B1 Contains the formula Value of Date".

When Concatenated the two cells the value in cell B1 is shown in number
format and not in date format as displayed in the cell.

How to get the date format ?

Regards
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Concatenate with the formula values

Based on the string in A1: Payables for the month of

I'm assuming you want the month name from the date in cell B1

=A1&" "&TEXT(B1,"mmmm")

A1 = Payables for the month of
B1 = 3/10/2007

Result of formula = Payables for the month of March

If B1 is ever empty the result will be: Payables for the month of January

So, you might want to add some robustness to the formula:

=IF(COUNTA(A1:B1)<2,"",A1&" "&TEXT(B1,"mmmm"))

If either cell is empty the formula cell will remain blank.

Biff

"Narendra" wrote in message
...
When I, concatenate the values of two cells, Cell A1 contains the text
"Payables for the month of " & Cell B1 Contains the formula Value of
Date".

When Concatenated the two cells the value in cell B1 is shown in number
format and not in date format as displayed in the cell.

How to get the date format ?

Regards



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Concatenate with the formula values

=A1&TEXT(B1,"m/d/yyyy")


"Narendra" wrote:

When I, concatenate the values of two cells, Cell A1 contains the text
"Payables for the month of " & Cell B1 Contains the formula Value of Date".

When Concatenated the two cells the value in cell B1 is shown in number
format and not in date format as displayed in the cell.

How to get the date format ?

Regards

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
Concatenate formula or & Sam Excel Discussion (Misc queries) 11 January 18th 07 09:54 PM
Concatenate values dan Excel Worksheet Functions 2 August 14th 06 11:03 PM
Need help with concatenate formula Terri Excel Worksheet Functions 4 March 29th 06 11:47 PM
Evaluating results of a concatenate formula, as a formula dodger Excel Worksheet Functions 5 September 9th 05 01:55 PM
concatenate values/texts corresp. to a searched repeated value/tex K.S.Warrier Excel Worksheet Functions 5 December 18th 04 08:17 AM


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