PC Review


Reply
Thread Tools Rate Thread

How to add a leading space to an existing text field?

 
 
richprince
Guest
Posts: n/a
 
      27th Apr 2010
I have 2 columns of data that I want to concatenate, however, I need a space
to separate the second column for readability. Example: column 1 (100)
column 2 (n. baker st.) - result: 100 n. baker st.

Excel 2007
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      27th Apr 2010
=a1&" "&b1

If you ever decide you want to format the number (like a date or money or time):

="Your payment is due on: " & text(a1,"mmmm dd, yyyy")
& ". Please include: " & text(b1,"$#,##0.00") & " payable to the IRS."

richprince wrote:
>
> I have 2 columns of data that I want to concatenate, however, I need a space
> to separate the second column for readability. Example: column 1 (100)
> column 2 (n. baker st.) - result: 100 n. baker st.
>
> Excel 2007


--

Dave Peterson
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove leading space in field in Access khaymon Microsoft Access Queries 2 23rd Jan 2009 11:44 PM
Adding in leading zeros and a space to a text field in a table Bill Microsoft Access 4 15th Jul 2008 07:00 PM
text field leading zeros =?Utf-8?B?QW5uaWU=?= Microsoft Access 10 26th Apr 2006 07:29 AM
How to keep leading zero without changing field to text field? =?Utf-8?B?RGVuaQ==?= Microsoft Excel Misc 1 24th Oct 2005 10:48 PM
Update query to remove leading space from address field JK Microsoft Access Queries 3 11th Sep 2003 01:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:53 PM.