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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,215,054
Messages
6,122,893
Members
449,097
Latest member
dbomb1414

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