LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mallycat
 
Posts: n/a
Default Duplicate Text within single cell. How to identify & split


you've posted everything other than a sample of what the incorrect data
looks like. I will assume "HP\Compaq DL 585 G1", looks like "
HP HP\Compaq DL 585 G1", ie with a space.

This forumula searches to see if there is a space. If there is, it
takes the first half of the cell and uses that

=IF(ISERR(SEARCH(" ",A2)),A2,LEFT(A2,SEARCH(" ",A2)-1)&" "&B2)


--
Mallycat
------------------------------------------------------------------------
Mallycat's Profile: http://www.excelforum.com/member.php...o&userid=35514
View this thread: http://www.excelforum.com/showthread...hreadid=553833

 
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
How to I copy text from a range of cells to another single cell? WRT Excel Discussion (Misc queries) 2 December 18th 05 06:17 AM
Formula to transfer text from merged cells to single cell? rosey1 Excel Discussion (Misc queries) 2 October 11th 05 03:10 PM
Can I create an IF formula for single cell w/ dif. text in Excel? bennymichael Excel Discussion (Misc queries) 1 July 21st 05 08:59 PM
Split Long Text Cell into Two Shorter Cells Without Splitting Word Naomi T Excel Discussion (Misc queries) 1 July 7th 05 06:49 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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