Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default Insert rows depending on entry in certain column

Columns F and P on my sheet contain data as below. What I need to do is
check each cell and decide if it has more than one 'entry', if it does then
insert a row beneath (for 2 entries insert 1 row, for 3 entries insert 2
rows, etc, etc).

'entries' are separated by a comma.

Column F Column P
DD1
GF2,JK4 GH,BN
HJ9 DR5,UU8
HK9
CV5,FG6 TY9

What I need to do then, if its possible, is to put the second/third/fourth
'entry' into the newly inserted rows (obviously without the comma's).

I had thought of using texttocolumns to sort out the date but wondered if
there was an easier way.

TIA

Gareth




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Insert rows depending on entry in certain column

What version of excel?

Come up with anything yet?

--
Regards,
Tom Ogilvy

Gareth wrote in message
...
Columns F and P on my sheet contain data as below. What I need to do is
check each cell and decide if it has more than one 'entry', if it does

then
insert a row beneath (for 2 entries insert 1 row, for 3 entries insert 2
rows, etc, etc).

'entries' are separated by a comma.

Column F Column P
DD1
GF2,JK4 GH,BN
HJ9 DR5,UU8
HK9
CV5,FG6 TY9

What I need to do then, if its possible, is to put the second/third/fourth
'entry' into the newly inserted rows (obviously without the comma's).

I had thought of using texttocolumns to sort out the date but wondered if
there was an easier way.

TIA

Gareth






Reply
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
Count/Sum rows of a column depending on criteria from drop-down li YY san.[_2_] Excel Worksheet Functions 4 December 22nd 09 01:43 AM
Auto copy data rows between sheets depending on date entry Struggling in Sheffield[_2_] New Users to Excel 3 September 27th 09 01:36 PM
A way to auto insert at top of each column with each entry? Channing Excel Discussion (Misc queries) 4 September 9th 06 04:56 AM
Merge Rows depending on value of the first column sp123 Excel Worksheet Functions 1 April 20th 06 03:43 AM
Inserting # of rows depending on value in Column Christel Excel Programming 5 November 7th 03 07:57 PM


All times are GMT +1. The time now is 12:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"