Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
glynny
 
Posts: n/a
Default Concatenate Text & Numbers Keeping zeros..


Hello all, I have a very similar problem to a previous post which is
driving me mad...

5 column spreadsheet :

A1 : A2 :A3 :A4 : A5

Empty : 111 Somewhere Road B23 4DF : 1.14565 : 52.2321 : 005
Empty : 112 Somewhere Avenue B26 5DF: 1.14541 : 52.5654: 010

I need to combine A2 & A5 into the empty position at A1

The A5 column is formatted to show leading zeros, and is the result of
a very complicated equation. (Haversine calc for Great Circle distance
using Lat /Longs)

The A1 column must be of the form :

005 Miles 111 Somewhere Road B23 4DF
010 Miles 112 Somewhere Avenue B26 5DF

I have tried everything to get it in this format, but I usually end up
either without the zeros and correct text or correct zeros & no text

The A5 column is formatted using custom 000.0
I have tried Concatenate (A5,A2) with a text format using displayed
value not 15 digit value

and using &TEXT but I can't seem to get exactly what I want.

any help greatly appreciated........

Glynny


--
glynny
------------------------------------------------------------------------
glynny's Profile: http://www.excelforum.com/member.php...o&userid=31656
View this thread: http://www.excelforum.com/showthread...hreadid=513433

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Concatenate Text & Numbers Keeping zeros..

So, have you tried:

=TEXT(E1,"000.0")&" Miles "&B1
or even
=TEXT(A5,"000.0")&" Miles "&A2

Your references are very confusing !!

Hope this helps.

Pete

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
glynny
 
Posts: n/a
Default Concatenate Text & Numbers Keeping zeros..


Pete_UK you are a star.

Why is it that this is totally obvious this morning & a total enigma
last night.

Sorry about the references - was having a meltdown last night.

yhanks again

Glynny


--
glynny
------------------------------------------------------------------------
glynny's Profile: http://www.excelforum.com/member.php...o&userid=31656
View this thread: http://www.excelforum.com/showthread...hreadid=513433

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Concatenate Text & Numbers Keeping zeros..

Glad you got it working, thanks for feeding back.

Pete

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
TEXT TO COLUMNS WITH LEADING ZEROS Peggy Excel Discussion (Misc queries) 6 April 27th 23 03:45 AM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Concantenate Text with numbers with fixed form sunslight Excel Worksheet Functions 2 April 24th 05 01:39 AM
numbers and text in Excel to read as text keeping the leading zer. Ralph Excel Discussion (Misc queries) 2 December 10th 04 07:05 PM
I enter numbers and they are stored as text burkeville Excel Discussion (Misc queries) 5 December 3rd 04 01:59 AM


All times are GMT +1. The time now is 02:37 PM.

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"