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: 12
Default Insert a new row with data from previous row

I posted this initial in newuser area, but I suppose that wasn't appropriate
for what I needed to do. I
have a sheet that looks like this:

name number preference1 preference2 preference3
me 123 X X
you 246 X X
other 789 X

What I need to do, is:

1. For each additional X for that name, create a new row that has the name,
number and only that preference listed but in the same column it's in.
2. Change the X to the header name which I think I can do with IF

So the results would look like:

name number preference1 preference2 preference3
me 123 preference1
me 123 preference2
you 246 preference2
you 246 preference3
other 789 preference2



 
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
macro to insert row and copy previous row + excel Biffo Excel Discussion (Misc queries) 12 December 21st 09 09:21 PM
how do I insert row keeping formulas from previous row? Todd108 Excel Discussion (Misc queries) 1 October 29th 09 06:04 PM
Insert a new row with data from previous row Lynn Bales New Users to Excel 1 October 3rd 05 07:04 AM
insert from previous worksheets melzki Excel Worksheet Functions 2 February 23rd 05 06:11 PM
Sum previous cell? Insert line.... William[_2_] Excel Programming 0 August 11th 03 09:24 PM


All times are GMT +1. The time now is 07:38 PM.

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"