ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   What takes the place of a space in a formula? (https://www.excelbanter.com/excel-discussion-misc-queries/11439-what-takes-place-space-formula.html)

greenrocksandsodoesschoolandmylife

What takes the place of a space in a formula?
 
to use a name that is made up of two or more words in a formula, any space
should be replaced with a what?

doco

Not real sure what you want but =SomeValue & " " & AnotherValue & " " &
YetAnotherValue.

Or you could create a constant in the Insert|Name|Define menu selection. In
the "Names in workbook" text box put aSpace then in "Refers to: put " ".
Then your formulay would look like this =SomeValue & aSpace & AnotherValue &
aSpace & YetAnotherValue.

HTH
doco

"greenrocksandsodoesschoolandmylife"
crosoft.com wrote in
message ...
to use a name that is made up of two or more words in a formula, any space
should be replaced with a what?




Peo Sjoblom

It depends,

to find posdition of a space

=FIND(" ",A1)

To concatenate and add a space

=A1&" "&A2


Regards,

Peo Sjoblom


"greenrocksandsodoesschoolandmylife"
crosoft.com wrote in
message ...
to use a name that is made up of two or more words in a formula, any space
should be replaced with a what?




RagDyer

If it's a name *AND* it's text, you *must* enclose it in quotes, SO ...
spaces are *allowed* between the quotes.

"john doe"
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"greenrocksandsodoesschoolandmylife"
crosoft.com wrote in
message ...
to use a name that is made up of two or more words in a formula, any space
should be replaced with a what?



All times are GMT +1. The time now is 08:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com