![]() |
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 |
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 |
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 |
Concatenate Text & Numbers Keeping zeros..
Glad you got it working, thanks for feeding back.
Pete |
All times are GMT +1. The time now is 12:13 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com