Single Row Transactions to Multirow Transactions

Rudy

New Member
Joined
Jan 3, 2008
Messages
8
I have a spread sheet that has a list of employees and transactions that they have done through out a given month.

Example:

Employee No., Effective Date, Amount1, Amount2
0001, 2/1/2009, 50, 100
0002, 2/1/2009, 50, 0
0003, 3/1/2009, 0, 0

I need a way to make it so that the "Amount1" and "Amount2" be seperated into there own line item, except when the cell is equal to either 0 or is blank.

Desired Solution:
Employee No., Effective Date, Amount1, Amount2
0001, 2/1/2009, 50
0001, 2/1/2009, , 100
0002, 2/1/2009, 50


This is a much simplified version of what I am actually looking to do. I usually create Macros and then edit my VBA code from there, but this is a little beyond me. This is a procedure that will need to be done often, so if anyone has any tips or any helpful ideas it would be greatly appreciated and would save me a TON of time.

Thanks in advance!!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,191,192
Messages
5,985,218
Members
439,948
Latest member
Xearo96

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
Top