PC Review


Reply
Thread Tools Rate Thread

Concatenate Nightmare!

 
 
=?Utf-8?B?ZGVl?=
Guest
Posts: n/a
 
      11th Jul 2006
Hi,

I have tried both the concatenate function and the A1&B1, for example,
method.

In two separate workbooks, I have two different problems!

1. In one workbook, only the formula is displayed. As I enter it, it
refers to the cells referenced in colour, etc., as always, but as soon as I
hit Enter, only the formula is displayed, not the result.

2. In another workbook, the result is displayed, however, in many cells,
only the last 2 or 3 characters in the 2nd cell referenced is displayed.

I have never had these problems and have tried formatting in various ways,
looked up troubleshooting, but nothing seems to help.

Thanks!

--
Thanks!

Dee
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      11th Jul 2006
"dee" wrote:
> I have tried both the concatenate function and the A1&B1, for example,
> method. In two separate workbooks, I have two different problems!


> 1. In one workbook, only the formula is displayed. As I enter it, it
> refers to the cells referenced in colour, etc., as always, but as soon as I
> hit Enter, only the formula is displayed, not the result.


One guess: The formula cell was (unknown to you, of course) earlier
pre-formatted as Text. Try formatting the cell as general or number, then
re-confirm the formula (eg click inside the formula bar, press ENTER again).
The formula must be re-confirmed after the formatting before it'll work.

> 2. In another workbook, the result is displayed, however, in many cells,
> only the last 2 or 3 characters in the 2nd cell referenced is displayed.


The concat result returned by the formula could be exceeding the cell's col
width. Either try widening the col or format the cell to wrap text (via:
Format > Cells > Alignment tab > check "Wrap text" > OK)

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
 
Reply With Quote
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      11th Jul 2006
Some further thoughts on your 2nd question
> > 2. In another workbook, the result is displayed, however, in many cells,
> > only the last 2 or 3 characters in the 2nd cell referenced is displayed.

>
> The concat result returned by the formula could be exceeding the cell's col
> width. Either try widening the col or format the cell to wrap text (via:
> Format > Cells > Alignment tab > check "Wrap text" > OK)


And instead of say, in C1: =A1&" "&B1,

Try in C1:
=TRIM(A1)&" "&SUBSTITUTE(TRIM(B1),CHAR(10),"")

(Not sure, but there could be some stray line breaks in col B)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
 
Reply With Quote
 
=?Utf-8?B?ZGVl?=
Guest
Posts: n/a
 
      11th Jul 2006
Thank you! Both of your suggestions worked like a charm... I didn't need to
do the second more complicated step, as just changing the column width solved
the problem, which I should have figured out myself!

Had been up working for about 15 hours straight by that time, though!
--
Thanks!

Dee


"Max" wrote:

> Some further thoughts on your 2nd question
> > > 2. In another workbook, the result is displayed, however, in many cells,
> > > only the last 2 or 3 characters in the 2nd cell referenced is displayed.

> >
> > The concat result returned by the formula could be exceeding the cell's col
> > width. Either try widening the col or format the cell to wrap text (via:
> > Format > Cells > Alignment tab > check "Wrap text" > OK)

>
> And instead of say, in C1: =A1&" "&B1,
>
> Try in C1:
> =TRIM(A1)&" "&SUBSTITUTE(TRIM(B1),CHAR(10),"")
>
> (Not sure, but there could be some stray line breaks in col B)
> --
> Max
> Singapore
> http://savefile.com/projects/236895
> xdemechanik
> ---

 
Reply With Quote
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      11th Jul 2006
Glad it helped !
Thanks for the feedback ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"dee" wrote:
> Thank you! Both of your suggestions worked like a charm... I didn't need to
> do the second more complicated step, as just changing the column width solved
> the problem, which I should have figured out myself!
>
> Had been up working for about 15 hours straight by that time, though!
> --
> Thanks!
>
> Dee

 
Reply With Quote
 
=?Utf-8?B?dW5jcmVhdGl2ZQ==?=
Guest
Posts: n/a
 
      15th Nov 2006
Hi, secondary question to this problem. I am able to concatenate & insert
leading apostrophes into a column containing numeric & alphanumeric data.
However, when I try to link tables in Access, no matches are returned because
I believe that column is being read as 'ABC123 instead of ABC123. If I click
on each individual cell and hit enter, it works correctly. However, I have a
thousand cells and am not really interested in doing anything individually.
Is there another step I am missing? How can I make the apostrophes be read
merely as leading apostrophes?

Thanks,
Tamsyn Hartlen


"Max" wrote:

> "dee" wrote:
> > I have tried both the concatenate function and the A1&B1, for example,
> > method. In two separate workbooks, I have two different problems!

>
> > 1. In one workbook, only the formula is displayed. As I enter it, it
> > refers to the cells referenced in colour, etc., as always, but as soon as I
> > hit Enter, only the formula is displayed, not the result.

>
> One guess: The formula cell was (unknown to you, of course) earlier
> pre-formatted as Text. Try formatting the cell as general or number, then
> re-confirm the formula (eg click inside the formula bar, press ENTER again).
> The formula must be re-confirmed after the formatting before it'll work.
>
> > 2. In another workbook, the result is displayed, however, in many cells,
> > only the last 2 or 3 characters in the 2nd cell referenced is displayed.

>
> The concat result returned by the formula could be exceeding the cell's col
> width. Either try widening the col or format the cell to wrap text (via:
> Format > Cells > Alignment tab > check "Wrap text" > OK)
>
> --
> Max
> Singapore
> http://savefile.com/projects/236895
> xdemechanik
> ---

 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      15th Nov 2006
Try this .. Enter the number: 1 into a blank cell, then copy that cell. Then
right-click on the col > Paste special > Check "Multiply" > OK. That should
help remove the leading apostrophes.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"uncreative" <(E-Mail Removed)> wrote in message
news:79A19FB6-1194-4C5B-A241-(E-Mail Removed)...
> Hi, secondary question to this problem. I am able to concatenate & insert
> leading apostrophes into a column containing numeric & alphanumeric data.
> However, when I try to link tables in Access, no matches are returned
> because
> I believe that column is being read as 'ABC123 instead of ABC123. If I
> click
> on each individual cell and hit enter, it works correctly. However, I
> have a
> thousand cells and am not really interested in doing anything
> individually.
> Is there another step I am missing? How can I make the apostrophes be read
> merely as leading apostrophes?
>
> Thanks,
> Tamsyn Hartlen



 
Reply With Quote
 
=?Utf-8?B?dW5jcmVhdGl2ZQ==?=
Guest
Posts: n/a
 
      15th Nov 2006
Hi,

That did not seem to work, unfortunately. Do you think I am having a
problem because I have both numeric and alphanumeric text? I want the
numeric cells to be treated as text, and in order to do that I need to insert
apostrophes. However, perhaps also inserting the apostrophes in the
alphanumeric cells is causing them to be read with the apostrophe, and
therefore the entire column is not being read.


"Max" wrote:

> Try this .. Enter the number: 1 into a blank cell, then copy that cell. Then
> right-click on the col > Paste special > Check "Multiply" > OK. That should
> help remove the leading apostrophes.
> --
> Max
> Singapore
> http://savefile.com/projects/236895
> xdemechanik
> ---
> "uncreative" <(E-Mail Removed)> wrote in message
> news:79A19FB6-1194-4C5B-A241-(E-Mail Removed)...
> > Hi, secondary question to this problem. I am able to concatenate & insert
> > leading apostrophes into a column containing numeric & alphanumeric data.
> > However, when I try to link tables in Access, no matches are returned
> > because
> > I believe that column is being read as 'ABC123 instead of ABC123. If I
> > click
> > on each individual cell and hit enter, it works correctly. However, I
> > have a
> > thousand cells and am not really interested in doing anything
> > individually.
> > Is there another step I am missing? How can I make the apostrophes be read
> > merely as leading apostrophes?
> >
> > Thanks,
> > Tamsyn Hartlen

>
>
>

 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      15th Nov 2006
Not sure, but perhaps try this ..

Assuming source in A1 down

Put in B1:
=IF(A1="","",
IF(ISNUMBER(A1),TEXT(A1,"@"),A1))

Copy B1 down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"uncreative" <(E-Mail Removed)> wrote in message
news:9A8893BF-D62C-40A4-BA41-(E-Mail Removed)...
> Hi,
>
> That did not seem to work, unfortunately. Do you think I am having a
> problem because I have both numeric and alphanumeric text? I want the
> numeric cells to be treated as text, and in order to do that I need to
> insert
> apostrophes. However, perhaps also inserting the apostrophes in the
> alphanumeric cells is causing them to be read with the apostrophe, and
> therefore the entire column is not being read.



 
Reply With Quote
 
=?Utf-8?B?dW5jcmVhdGl2ZQ==?=
Guest
Posts: n/a
 
      15th Nov 2006
Ahhh, so simple. That DID work this time, thanks for all your help!

"Max" wrote:

> Not sure, but perhaps try this ..
>
> Assuming source in A1 down
>
> Put in B1:
> =IF(A1="","",
> IF(ISNUMBER(A1),TEXT(A1,"@"),A1))
>
> Copy B1 down
> --
> Max
> Singapore
> http://savefile.com/projects/236895
> xdemechanik
> ---
> "uncreative" <(E-Mail Removed)> wrote in message
> news:9A8893BF-D62C-40A4-BA41-(E-Mail Removed)...
> > Hi,
> >
> > That did not seem to work, unfortunately. Do you think I am having a
> > problem because I have both numeric and alphanumeric text? I want the
> > numeric cells to be treated as text, and in order to do that I need to
> > insert
> > apostrophes. However, perhaps also inserting the apostrophes in the
> > alphanumeric cells is causing them to be read with the apostrophe, and
> > therefore the entire column is not being read.

>
>
>

 
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
TOC Nightmare Betsy Microsoft Word Document Management 2 5th Mar 2008 10:26 AM
Nightmare Bug. !! Plz Help MrCC via AccessMonster.com Microsoft Access Form Coding 8 17th Feb 2008 09:50 PM
I know how to concatenate ,can one de-concatenate to split date? =?Utf-8?B?UVVJQ0sgQk9PS1MgUFJPQkxFTS0=?= Microsoft Excel New Users 1 26th Jul 2005 05:07 PM
RE: USB nightmare =?Utf-8?B?SnVzdFVz?= Windows XP Hardware 0 29th Jul 2004 06:01 AM
ftp nightmare =?Utf-8?B?V2lsbGlz?= Windows XP General 10 24th May 2004 09:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:24 AM.