Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jeanne
 
Posts: n/a
Default combining several individual cells of numbers into one cell

I have 2 situations that need to be build in an existing spreadsheet. Here
is what I have:
B C D E F G H I J K L M N
9 0 SPACE 5 0 0 0 4 2 1 =+b =+C =mod(a formula)

Result:
B C D E F G H I J K L M N
9 0 5 0 0 0 4 2 1 9 0 2

I need the values of E through N to be in one cell.

I also need to be able to do the reverse:
If I put a 10 digit number in one cell, I need to be able to put each number
in a separate cell, all in the same spreadsheet.

Any sugestions would be helpful. I have tried to concatenate; however, I
think it does not work because it is for text only. I am unable to reveal
the mod check formula, so even if I can get the first 9 numbers in the field
and have to manually change the number, that would work also.

Thanks in advance for any help.
  #2   Report Post  
Alan Perkins
 
Posts: n/a
Default

To join the values into a single numeric value, use:
=VALUE(E1&F1&G1&H1&I1&J1&K1&L1&M1&N1)

To break the number into individual digits, use:
=VALUE(MID($A$1,1,1))
=VALUE(MID($A$1,2,1))
=VALUE(MID($A$1,3,1))
:
:
=VALUE(MID($A$1,101))

HTH

Alan P.

"Jeanne" wrote in message
...
I have 2 situations that need to be build in an existing spreadsheet. Here
is what I have:
B C D E F G H I J K L M N
9 0 SPACE 5 0 0 0 4 2 1 =+b =+C =mod(a formula)

Result:
B C D E F G H I J K L M N
9 0 5 0 0 0 4 2 1 9 0 2

I need the values of E through N to be in one cell.

I also need to be able to do the reverse:
If I put a 10 digit number in one cell, I need to be able to put each
number
in a separate cell, all in the same spreadsheet.

Any sugestions would be helpful. I have tried to concatenate; however, I
think it does not work because it is for text only. I am unable to reveal
the mod check formula, so even if I can get the first 9 numbers in the
field
and have to manually change the number, that would work also.

Thanks in advance for any help.



  #3   Report Post  
Ragdyer
 
Posts: n/a
Default

To combine your numbers, try this:
=--(E1&F1&G1&H1&I1&J1&K1&L1&M1&N1)

To separate your numbers, try this:
=--MID($N$1,COLUMN(B1),1)
Click the fill handle and drag *across* your 10 columns.
THEN, click the fill handle of the 10 column *selection*, and drag down as
needed.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------


"Jeanne" wrote in message
...
I have 2 situations that need to be build in an existing spreadsheet.

Here
is what I have:
B C D E F G H I J K L M N
9 0 SPACE 5 0 0 0 4 2 1 =+b =+C =mod(a formula)

Result:
B C D E F G H I J K L M N
9 0 5 0 0 0 4 2 1 9 0 2

I need the values of E through N to be in one cell.

I also need to be able to do the reverse:
If I put a 10 digit number in one cell, I need to be able to put each

number
in a separate cell, all in the same spreadsheet.

Any sugestions would be helpful. I have tried to concatenate; however, I
think it does not work because it is for text only. I am unable to reveal
the mod check formula, so even if I can get the first 9 numbers in the

field
and have to manually change the number, that would work also.

Thanks in advance for any help.


  #4   Report Post  
Ragdyer
 
Posts: n/a
Default

Made a typo in the separation formula.
Should start with column A1:
=--MID($N$1,COLUMN(A1),1)

Also, I assumed that you wanted to go across the columns, but in re-reading
your post, you only mentioned "cell".

To separate the numbers into vertical rows, use this:
=--MID($N$1,ROW(A1),1)
And drag down to copy.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------



"Ragdyer" wrote in message
...
To combine your numbers, try this:
=--(E1&F1&G1&H1&I1&J1&K1&L1&M1&N1)

To separate your numbers, try this:
=--MID($N$1,COLUMN(B1),1)
Click the fill handle and drag *across* your 10 columns.
THEN, click the fill handle of the 10 column *selection*, and drag down as
needed.
--
HTH,

RD

--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit !
--------------------------------------------------------------------------

-


"Jeanne" wrote in message
...
I have 2 situations that need to be build in an existing spreadsheet.

Here
is what I have:
B C D E F G H I J K L M N
9 0 SPACE 5 0 0 0 4 2 1 =+b =+C =mod(a formula)

Result:
B C D E F G H I J K L M N
9 0 5 0 0 0 4 2 1 9 0 2

I need the values of E through N to be in one cell.

I also need to be able to do the reverse:
If I put a 10 digit number in one cell, I need to be able to put each

number
in a separate cell, all in the same spreadsheet.

Any sugestions would be helpful. I have tried to concatenate; however,

I
think it does not work because it is for text only. I am unable to

reveal
the mod check formula, so even if I can get the first 9 numbers in the

field
and have to manually change the number, that would work also.

Thanks in advance for any help.



  #5   Report Post  
Jeanne
 
Posts: n/a
Default

Alan, thanks for your response. When I try this I get #VALUE!



"Alan Perkins" wrote:

To join the values into a single numeric value, use:
=VALUE(E1&F1&G1&H1&I1&J1&K1&L1&M1&N1)

To break the number into individual digits, use:
=VALUE(MID($A$1,1,1))
=VALUE(MID($A$1,2,1))
=VALUE(MID($A$1,3,1))
:
:
=VALUE(MID($A$1,101))

HTH

Alan P.

"Jeanne" wrote in message
...
I have 2 situations that need to be build in an existing spreadsheet. Here
is what I have:
B C D E F G H I J K L M N
9 0 SPACE 5 0 0 0 4 2 1 =+b =+C =mod(a formula)

Result:
B C D E F G H I J K L M N
9 0 5 0 0 0 4 2 1 9 0 2

I need the values of E through N to be in one cell.

I also need to be able to do the reverse:
If I put a 10 digit number in one cell, I need to be able to put each
number
in a separate cell, all in the same spreadsheet.

Any sugestions would be helpful. I have tried to concatenate; however, I
think it does not work because it is for text only. I am unable to reveal
the mod check formula, so even if I can get the first 9 numbers in the
field
and have to manually change the number, that would work also.

Thanks in advance for any help.






  #6   Report Post  
FatOldGit
 
Posts: n/a
Default

Jeanne,

Which bit doesn't work? The only reason that I can think of for that error
is a non-numeric chatacter in the cell. Perhaps a sample of the data that
you're using would help.

Alan P.

"Jeanne" wrote in message
...
Alan, thanks for your response. When I try this I get #VALUE!



"Alan Perkins" wrote:

To join the values into a single numeric value, use:
=VALUE(E1&F1&G1&H1&I1&J1&K1&L1&M1&N1)

To break the number into individual digits, use:
=VALUE(MID($A$1,1,1))
=VALUE(MID($A$1,2,1))
=VALUE(MID($A$1,3,1))
:
:
=VALUE(MID($A$1,101))

HTH

Alan P.

"Jeanne" wrote in message
...
I have 2 situations that need to be build in an existing spreadsheet.
Here
is what I have:
B C D E F G H I J K L M N
9 0 SPACE 5 0 0 0 4 2 1 =+b =+C =mod(a formula)

Result:
B C D E F G H I J K L M N
9 0 5 0 0 0 4 2 1 9 0 2

I need the values of E through N to be in one cell.

I also need to be able to do the reverse:
If I put a 10 digit number in one cell, I need to be able to put each
number
in a separate cell, all in the same spreadsheet.

Any sugestions would be helpful. I have tried to concatenate; however,
I
think it does not work because it is for text only. I am unable to
reveal
the mod check formula, so even if I can get the first 9 numbers in the
field
and have to manually change the number, that would work also.

Thanks in advance for any help.






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
How do I link many cells to one particular cell? fish@divi Excel Discussion (Misc queries) 2 January 4th 05 11:00 PM
How do I link many cells to one particular cell? justinfishman22 Excel Discussion (Misc queries) 2 January 4th 05 12:09 AM
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:17 AM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM


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