Create a new sheet if column/row contains value then copy row

beerworks

New Member
Joined
Nov 23, 2017
Messages
1
I'm not having much luck in trying to get figured out.

I have a sheet that has 12 months on separate columns as well as other data, I would like to create a new sheet that takes the dates and copy with all the data it to from a line if the date column/row has a non zero value.


<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>

Book1
ABCDEFGHIJ
1IdDescHead1Head2Jan-18Feb-18Mar-18Dec-18
212123line 1qq1aa110060020
312222line 2ww2ss22010200
4
523123line 3ee3dd3050010
6
7Transform to this
8
9DateIdDescHead1Head2Qty
10Jan-1812123line 1qq1aa1100
11Jan-1812222line 2ww2ss220
12Feb-1812123line 1qq1aa169
13Feb-1812222line 2ww2ss210
14Feb-1823123line 3ee3dd350
15
16Dec-1812123line 1qq1aa120
17Dec-1823123line 3ee3dd310
Sheet1
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
beerworks,

Welcome to the MrExcel forum.

In order to assist you, it would help is we could see all of your actual raw data workbook/worksheets, with the raw data in Sheet1, and, the results (manually formatted by you for the results that you are looking for) in another worksheet.


You can post your workbook/worksheets to the following free site (sensitive data changed), mark the workbook for sharing, and, provide us with a link to your workbook:

https://dropbox.com
 
Upvote 0

Forum statistics

Threads
1,214,913
Messages
6,122,207
Members
449,074
Latest member
cancansova

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top