LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Erratic display of concatenation

Colin Hayes wrote...
....
12234-12-56
13498-7-89
85787-cb-78


These should be text.

This is working fine for the vast majority of items but for a few ,
which steadfastly refuse to keep the format the concatenation demands.

For example , a cell that should read 6534-12-10 is in fact reading
1692879. Others show a date , like 10/12/6541

....

Excel is treating these as dates. Excel may even have converted them
into dates. The robust, though redundant way to handle this is to
assume ALL these cells have been converted to dates. So instead of

=B99&C99&D99

where C99 should the catelog number, try

=B99&IF(COUNT(C99),TEXT(C99,"yyyy-m-d"),C99)&D99

Use this for every record (hence the redundancy), and there should be
no problems.
 
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
Concatenation JPS Excel Worksheet Functions 3 May 4th 08 07:35 AM
Automatic Completion Erratic jimjomac Excel Discussion (Misc queries) 1 February 3rd 08 05:10 PM
Erratic Workbook Password Problems Rich Kooyer[_2_] Excel Discussion (Misc queries) 2 September 13th 07 04:46 PM
SUM formulas exhibiting erratic behavior Mango Excel Discussion (Misc queries) 3 May 9th 07 03:19 PM
Erratic Cursor Behavior Cathy C Excel Discussion (Misc queries) 6 June 18th 05 04:17 PM


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