#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Adding a space


I have a sentence in field A1 and a number in field A2. The formula I am
using is =A1 & A2. This is working but there is no space in between A1
and A2. How can I add a space? Any help is appreciated.

E




--
eddie57
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default Adding a space

I have a sentence in field A1 and a number in field A2. The formula I am
using is =A1 & A2. This is working but there is no space in between A1
and A2. How can I add a space? Any help is appreciated.


Just concatenate it in like any other text...

=A1&" "&A2

Rick
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default Adding a space

The simple answer is:

=A1&" "&A2

Note that the above formula will return the numeric value in General format.

Example:
A1: "The price is:"
A2: 100.1..........Formatted as dollars, that would display as: $100.10

Howver, the above formula would disply: The price is: 100.1

To effect formatting, use this kind of formula:
=A1&" "&TEXT(A2,"$0.00")
Now the example would display as: The price is: $100.10

Does that help?
***********
Regards,
Ron

XL2003, WinXP


"eddie57" wrote:


I have a sentence in field A1 and a number in field A2. The formula I am
using is =A1 & A2. This is working but there is no space in between A1
and A2. How can I add a space? Any help is appreciated.

E




--
eddie57

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Adding a space

=CONCATENATE(A1," ",A2)

"eddie57" wrote:


I have a sentence in field A1 and a number in field A2. The formula I am
using is =A1 & A2. This is working but there is no space in between A1
and A2. How can I add a space? Any help is appreciated.

E




--
eddie57

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
Adding a space inbetween letters and numbers in a cell Jazzman10 Excel Discussion (Misc queries) 2 June 21st 07 01:31 PM
Adding a space in text MB Excel Worksheet Functions 6 May 19th 06 07:15 PM
Sorting and Adding Space Stewart Excel Worksheet Functions 2 November 16th 05 10:21 PM
adding space between columns in a chart merritaf Charts and Charting in Excel 1 August 19th 05 01:34 PM
Adding a space with =A59&B59 Jim Excel Worksheet Functions 1 May 17th 05 12:37 AM


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