#1   Report Post  
an
 
Posts: n/a
Default A & B & C & D

Hello!

I have next cells:
A B C D
101 1 3

With =A1 & C1 & D1, I obtained 10113.
However, I need to intercalate one string type 001, 002...
between cells.

Example:
A B C D
101 001 1 3
(Where 001 is formated with Custom to have 3 digits.
I would like to obtain 10100113.)

1 - How is possible to do this, please?
2 - The result is possible to format as number, please?

Thanks in advence.
an




  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi an

try
=VALUE(A1&TEXT(B1,"000")&C1&D1)

Regards
JulieD

"an" wrote in message
...
Hello!

I have next cells:
A B C D
101 1 3

With =A1 & C1 & D1, I obtained 10113.
However, I need to intercalate one string type 001, 002...
between cells.

Example:
A B C D
101 001 1 3
(Where 001 is formated with Custom to have 3 digits.
I would like to obtain 10100113.)

1 - How is possible to do this, please?
2 - The result is possible to format as number, please?

Thanks in advence.
an






  #3   Report Post  
Dave R.
 
Posts: n/a
Default

Try

=--(A1&TEXT(B1,"000")&C1&D1)



"an" wrote in message
...
Hello!

I have next cells:
A B C D
101 1 3

With =A1 & C1 & D1, I obtained 10113.
However, I need to intercalate one string type 001, 002...
between cells.

Example:
A B C D
101 001 1 3
(Where 001 is formated with Custom to have 3 digits.
I would like to obtain 10100113.)

1 - How is possible to do this, please?
2 - The result is possible to format as number, please?

Thanks in advence.
an






  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

One way

=A2&TEXT(B2,"000")&C2&D2


Regards,

Peo Sjoblom

"an" wrote:

Hello!

I have next cells:
A B C D
101 1 3

With =A1 & C1 & D1, I obtained 10113.
However, I need to intercalate one string type 001, 002...
between cells.

Example:
A B C D
101 001 1 3
(Where 001 is formated with Custom to have 3 digits.
I would like to obtain 10100113.)

1 - How is possible to do this, please?
2 - The result is possible to format as number, please?

Thanks in advence.
an





  #5   Report Post  
Harlan Grove
 
Posts: n/a
Default

an wrote...
I have next cells:
A B C D
101 1 3

With =A1 & C1 & D1, I obtained 10113.
However, I need to intercalate one string type 001, 002...
between cells.

Example:
A B C D
101 001 1 3
(Where 001 is formated with Custom to have 3 digits.
I would like to obtain 10100113.)

....

An alternative,

=SUMPRODUCT(A2:D2,{1000000,100,10,1})



  #6   Report Post  
an
 
Posts: n/a
Default

Thanks too.
But Return #VALUE (?)
an

-----Original Message-----
an wrote...
I have next cells:
A B C D
101 1 3

With =A1 & C1 & D1, I obtained 10113.
However, I need to intercalate one string type 001,

002...
between cells.

Example:
A B C D
101 001 1 3
(Where 001 is formated with Custom to have 3 digits.
I would like to obtain 10100113.)

....

An alternative,

=SUMPRODUCT(A2:D2,{1000000,100,10,1})

.

  #7   Report Post  
Dave R.
 
Posts: n/a
Default

You can try adding -- to ensure a2:d2 are counted as numbers

=SUMPRODUCT(--A2:D2,{1000000,100,10,1})


"an" wrote in message
...
Thanks too.
But Return #VALUE (?)
an

-----Original Message-----
an wrote...
I have next cells:
A B C D
101 1 3

With =A1 & C1 & D1, I obtained 10113.
However, I need to intercalate one string type 001,

002...
between cells.

Example:
A B C D
101 001 1 3
(Where 001 is formated with Custom to have 3 digits.
I would like to obtain 10100113.)

....

An alternative,

=SUMPRODUCT(A2:D2,{1000000,100,10,1})

.



  #8   Report Post  
Dave R.
 
Posts: n/a
Default

Hmm, well, I guess it wouldn't hurt to add -- before the range, but in
testing it doesn't seem to make a difference. Not sure why you would get
that error message.



"Dave R." wrote in message
...
You can try adding -- to ensure a2:d2 are counted as numbers

=SUMPRODUCT(--A2:D2,{1000000,100,10,1})


"an" wrote in message
...
Thanks too.
But Return #VALUE (?)
an

-----Original Message-----
an wrote...
I have next cells:
A B C D
101 1 3

With =A1 & C1 & D1, I obtained 10113.
However, I need to intercalate one string type 001,

002...
between cells.

Example:
A B C D
101 001 1 3
(Where 001 is formated with Custom to have 3 digits.
I would like to obtain 10100113.)
....

An alternative,

=SUMPRODUCT(A2:D2,{1000000,100,10,1})

.





  #9   Report Post  
an
 
Posts: n/a
Default

Thanks for your reply.

Perhaps because in Col D I have formatted with Custom to
have 3 digits (?)
an
-----Original Message-----
Hmm, well, I guess it wouldn't hurt to add -- before the

range, but in
testing it doesn't seem to make a difference. Not sure

why you would get
that error message.



"Dave R." wrote in message
...
You can try adding -- to ensure a2:d2 are counted as

numbers

=SUMPRODUCT(--A2:D2,{1000000,100,10,1})


"an" wrote in

message
...
Thanks too.
But Return #VALUE (?)
an

-----Original Message-----
an wrote...
I have next cells:
A B C D
101 1 3

With =A1 & C1 & D1, I obtained 10113.
However, I need to intercalate one string type 001,
002...
between cells.

Example:
A B C D
101 001 1 3
(Where 001 is formated with Custom to have 3 digits.
I would like to obtain 10100113.)
....

An alternative,

=SUMPRODUCT(A2:D2,{1000000,100,10,1})

.





.

  #10   Report Post  
an
 
Posts: n/a
Default

Ok!
Debtor to all.
All works fine.
an

-----Original Message-----
Hello!

I have next cells:
A B C D
101 1 3

With =A1 & C1 & D1, I obtained 10113.
However, I need to intercalate one string type 001,

002...
between cells.

Example:
A B C D
101 001 1 3
(Where 001 is formated with Custom to have 3 digits.
I would like to obtain 10100113.)

1 - How is possible to do this, please?
2 - The result is possible to format as number, please?

Thanks in advence.
an




.



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



All times are GMT +1. The time now is 09:27 AM.

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"