Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Need to create a number from other columns

Not text as I earlier thought. I have columns C, D, E, F, and G. Total of
15 digits 5-2-4-1-3 respectively. In column A, I need to create a 15 digit
number that reads the other columns and prints them as one 15 digit number.
In other words, column C has '11001, column D has '15, column E has '6402,
Column F has '1, Column G has '102. Under format cells these are listed as
General number in each of these columns. I need in column A, the same format
to give me answer of '110011564021102. What formula can I put in column A to
get this desired outcome? Thanks.
--
Sierra Mike
  #3   Report Post  
Posted to microsoft.public.excel.misc
Mc/ Mc/ is offline
external usenet poster
 
Posts: 5
Default Need to create a number from other columns

=c1&D1&E1&F1&G1

The &-sign serves as a concatenation marker.
This will work as long as each column has the correct number of digits.
If digits are truncated by zero suppression, you will have a problem.
One way to ensure the correct number of digits in each column would be to
use Data Validation to control manual data entry.
Column formatting to eliminate leading zero suppression would also help.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Need to create a number from other columns

In case some of the values have leading zeros...

Try this:
=TEXT(SUMPRODUCT(C1:G1*10^{10,8,4,3,0}),"000000000 000000")


Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"Sierra Mike" wrote in message
...
Not text as I earlier thought. I have columns C, D, E, F, and G. Total
of
15 digits 5-2-4-1-3 respectively. In column A, I need to create a 15
digit
number that reads the other columns and prints them as one 15 digit
number.
In other words, column C has '11001, column D has '15, column E has '6402,
Column F has '1, Column G has '102. Under format cells these are listed
as
General number in each of these columns. I need in column A, the same
format
to give me answer of '110011564021102. What formula can I put in column A
to
get this desired outcome? Thanks.
--
Sierra Mike



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
Need to create a text number from other columns Sierra Mike Excel Discussion (Misc queries) 2 February 2nd 08 02:15 PM
Create four columns out of one Hasse Excel Discussion (Misc queries) 5 February 16th 06 02:01 PM
Create stacked columns chart but with 2 columns for each x axis? PSM Charts and Charting in Excel 2 May 7th 05 03:56 PM
Trying to create a page with three columns [email protected] Excel Discussion (Misc queries) 2 April 2nd 05 03:27 PM
How to create a chart with two X value columns Himesh Charts and Charting in Excel 1 March 4th 05 05:55 AM


All times are GMT +1. The time now is 12:42 PM.

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"