LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default append 2 cells, delete old


Hey guys and gals,

I have been monkeying around with a formula and almost have it doin
what I want. Too bad I didn't have just a few more braincells or
might be able to figure it out.

I constructed a formula to append data from one cell to the cell above
but I can't get it to remove the data from the cell which informatio
was appended from. I sure hope this makes sense.

Here is what my data looks like: (each line is its own row)

12200-HN2-
000
12204-HN2-305
12206-371-
300
12206-371-305
12206-611-300
12206-ML8-300
12251-HN2-003
12252-HN2-
305
12310-HN2-000
12315-HN2-003
12351-HN2-000

16211-HN2-000

from row 2 I want to put the 000 after 12200-HN2- in row 1 and remov
the content of row two, or at least make it have a value of "xxx
literally. That way I could remove all rows that start with "xxx".

here is my formula put into another col, cell 1
=IF(RIGHT(A1,1)="-",A1&A2,A1)

This will indeed append the 000 to the line above, but it leaves th
000 there. Since my data has varying values that get cut and put o
their own line I need to remove them or rename them to somethin
consistent throughout the worksheet.


I know I'm a pain, but I have been at it for a day and a half. I'v
looked all over for something to get me started and can't figure i
out.

Any ideas?

Bill Beecha

--
billbeecha
-----------------------------------------------------------------------
billbeecham's Profile: http://www.excelforum.com/member.php...fo&userid=1628
View this thread: http://www.excelforum.com/showthread.php?threadid=27788

 
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 do I append same text to all the cells in a column at once? Abhijit Bamishte Excel Worksheet Functions 4 December 15th 06 07:26 PM
Append value to cell or cells t2true Excel Discussion (Misc queries) 3 April 3rd 06 08:33 PM
Append value to cell or cells t2true Excel Discussion (Misc queries) 2 April 3rd 06 08:04 PM
How do I append data in several cells in one column Tim Excel Discussion (Misc queries) 4 November 16th 05 10:04 PM
How can you append text in multiple cells in excel? Shane New Users to Excel 4 October 19th 05 10:49 PM


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