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: 70
Default Copy Row and row above to new sheet

Hi,
I have a sheet with subtotals sample data:
PART CPART JAN FEB MAR etc TOTAL
XYZ XYZ-1 500 1500 500
XYZ XYZ-1 100 2000 1000
600 3500 1500 5600 (This is subtotal row)
XYZZ XYZ-15 2000 1000 500
XYZZ XYZ-15 500 1000 1000
2500 2000 1500 6000 (This is subtotal row)
The end product I would like to get is:
PART CPART JAN FEB MAR etc TOTAL
XYZ XYZ-1 600 3500 1500 5600
XYZZ XYZ-15 2500 2000 1500 6000

Basically, need one row that shows the part,cpart,subtotals. Right now
Manually I would have to copy The Part,CPART then The subtotals, which if I
have alot of parts would be to time consuming.

So thinking need a few steps:
1. If Column A empty then copy as values that row and row above to new sheet.
2. In new sheet if Column A empty then move that row Up.

I hope I'm explaining this correctly. I know that I can delete a row if
column a is empty but need to figure out how to copy that row and row above
to new sheet.

Please advise any help. Really appreciate it
Juan
 
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
copy rows from one Data sheet to another sheet based on cell conte John McKeon Excel Discussion (Misc queries) 2 May 15th 10 06:49 AM
Copy Sheet to new Sheet and clear cells on original sheets Boiler-Todd Excel Discussion (Misc queries) 7 September 23rd 09 10:02 PM
Auto Copy/autofill Text from sheet to sheet if meets criteria Joyce Excel Discussion (Misc queries) 0 November 20th 08 11:05 PM
relative sheet references ala sheet(-1)!B11 so I can copy a sheet. RonMc5 Excel Discussion (Misc queries) 9 February 3rd 05 12:51 AM
providing a sheet-copy event or copy CustomProperties Carlos Cortes Excel Programming 2 November 11th 04 08:24 AM


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