ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   use formatting from source cell in CONCATENATE function (https://www.excelbanter.com/excel-worksheet-functions/110517-use-formatting-source-cell-concatenate-function.html)

zacarab

use formatting from source cell in CONCATENATE function
 
I have created a "specil" format for the display of numbers that shows
leading zeros of a value. I then want to use the CONCATENATE function to join
multiple cells with this characteristic. Unfortunately the CONCATENATE
function ignores the leading zero rule I have imposed on the display of the
source cell and returns the result with out the leading zeros
if A1= "012345" (as a number with my formatting showing the leading 0) and
B1="abc"
C1 is the formula "=CONCATENATE(A1,B1)" the result yields
C1="12345abc"

For my purposes I would find it valuable that the formatting was preserved
by CONCATENATE.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions

Teethless mama

use formatting from source cell in CONCATENATE function
 
check your previous post

"zacarab" wrote:

I have created a "specil" format for the display of numbers that shows
leading zeros of a value. I then want to use the CONCATENATE function to join
multiple cells with this characteristic. Unfortunately the CONCATENATE
function ignores the leading zero rule I have imposed on the display of the
source cell and returns the result with out the leading zeros
if A1= "012345" (as a number with my formatting showing the leading 0) and
B1="abc"
C1 is the formula "=CONCATENATE(A1,B1)" the result yields
C1="12345abc"

For my purposes I would find it valuable that the formatting was preserved
by CONCATENATE.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions



All times are GMT +1. The time now is 08:09 PM.

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