Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mia Mia is offline
external usenet poster
 
Posts: 101
Default String of numbers

Hi,

I have a problem to make a string of numbers. What I'm trying to do is
following.

Ex. 1
Cell A1
45-0001
Cell B1
5975

The result I want in Cell C1: 450001005975

I'l be wery grateful for some help!

--
Best regards
Mia
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default String of numbers

You can start with this

=replace(A1,"-","") & text(B1,"000000")
--
HTH,

Barb Reinhardt



"Mia" wrote:

Hi,

I have a problem to make a string of numbers. What I'm trying to do is
following.

Ex. 1
Cell A1
45-0001
Cell B1
5975

The result I want in Cell C1: 450001005975

I'l be wery grateful for some help!

--
Best regards
Mia

  #3   Report Post  
Posted to microsoft.public.excel.programming
Mia Mia is offline
external usenet poster
 
Posts: 101
Default String of numbers

Thank you,

I had god help from your suggestion but I solved it like this.

=Left(B8;2)&Right(B8;4)&TEXT(P29;"000000")

Tahnk yo agian!


--
Best regards
Mia


"Barb Reinhardt" skrev:

You can start with this

=replace(A1,"-","") & text(B1,"000000")
--
HTH,

Barb Reinhardt



"Mia" wrote:

Hi,

I have a problem to make a string of numbers. What I'm trying to do is
following.

Ex. 1
Cell A1
45-0001
Cell B1
5975

The result I want in Cell C1: 450001005975

I'l be wery grateful for some help!

--
Best regards
Mia

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default String of numbers

Just to point out, Barb used the wrong function in her response to you...
she should have used SUBSTITUTE instead of REPLACE. Try her formula this
way...

=SUBSTITUTE(A1,"-","") & TEXT(B1,"000000")

--
Rick (MVP - Excel)



"Mia" wrote in message
...
Thank you,

I had god help from your suggestion but I solved it like this.

=Left(B8;2)&Right(B8;4)&TEXT(P29;"000000")

Tahnk yo agian!


--
Best regards
Mia


"Barb Reinhardt" skrev:

You can start with this

=replace(A1,"-","") & text(B1,"000000")
--
HTH,

Barb Reinhardt



"Mia" wrote:

Hi,

I have a problem to make a string of numbers. What I'm trying to do is
following.

Ex. 1
Cell A1
45-0001
Cell B1
5975

The result I want in Cell C1: 450001005975

I'l be wery grateful for some help!

--
Best regards
Mia


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default String of numbers

Hello Mia,

=LEFT(A1,SEARCH("-",A1,1)-1)&RIGHT(A1,SEARCH("-",A1,1)+1)&"00"&B1

Jó szerencsét

Sebő Gábor

"Mia" wrote in message
...
Hi,

I have a problem to make a string of numbers. What I'm trying to do is
following.

Ex. 1
Cell A1
45-0001
Cell B1
5975

The result I want in Cell C1: 450001005975

I'l be wery grateful for some help!

--
Best regards
Mia




  #6   Report Post  
Posted to microsoft.public.excel.programming
Mia Mia is offline
external usenet poster
 
Posts: 101
Default String of numbers

Thank you!


--
Best regards
Mia


"helene and gabor" skrev:

Hello Mia,

=LEFT(A1,SEARCH("-",A1,1)-1)&RIGHT(A1,SEARCH("-",A1,1)+1)&"00"&B1

Jó szerencsét

Sebő Gábor

"Mia" wrote in message
...
Hi,

I have a problem to make a string of numbers. What I'm trying to do is
following.

Ex. 1
Cell A1
45-0001
Cell B1
5975

The result I want in Cell C1: 450001005975

I'l be wery grateful for some help!

--
Best regards
Mia


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 690
Default String of numbers

The result I want in Cell C1: 450001005975

Other ways as stated....

=SUBSTITUTE(A1,"-","")*1E6 + B1

= = = = = = =
HTH :)
Dana DeLouis

On 3/21/2010 8:43 AM, Mia wrote:
Hi,

I have a problem to make a string of numbers. What I'm trying to do is
following.

Ex. 1
Cell A1
45-0001
Cell B1
5975

The result I want in Cell C1: 450001005975

I'l be wery grateful for some 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
Column of Numbers in xls to String of Numbers in txt Spyder Excel Discussion (Misc queries) 1 March 15th 06 07:39 PM
Converting String numbers into real numbers Werner[_11_] Excel Programming 1 June 27th 05 09:41 PM
Converting String numbers into real numbers Jean-Jérôme Doucet via OfficeKB.com Excel Programming 2 June 27th 05 03:30 PM
string of numbers David Excel Worksheet Functions 1 May 20th 05 08:19 PM
string of numbers BorisS Excel Worksheet Functions 0 May 20th 05 07:16 PM


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