Conversion of Rows in to Coloums

Sagduel

New Member
Joined
Apr 5, 2018
Messages
5
Hi Experts,

The data which i have is explained like this

Vendor
Type
D NO
Date
Due date
Product
Debit
Credit
Delay
Interest
ABC
Invoice
111111
14-02-18
16-03-18
ABC
50,000.00
-
0

ABC
Invoice
111112
17-02-18
19-03-18
ANC
40,000.00
-
0

ABC
Payment
222222
17-04-18


-
30,000.00
32.00
210.4
ABC
Payment
222223
17-04-18


-
10,000.00
32.00
70.1
ABC
Invoice
111113
15-03-18
14-04-18
ANC
70,000.00
-
0.00
0.0
ABC
Payment
222224
15-04-18


-
10,000.00
0.00
0.0
ABC
Payment
222225
15-05-18


-
40,000.00
57.00
499.7

<tbody>
</tbody>

The data which i require is all the payments made in bits should be allocated to the invoice amount and invoice number.

For Example

VendorTypeD NO DateDue dateProductDebitCreditPaymentCreditDelayInterest
ABCInvoice11111114-02-1816-03-18ABC 50,000.00 - 17-04-183000032210.4109589
17-04-18100003270.1369863

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


Is there a shortcut for this as there are lakhs of data to convert like this

Technically

all the multiple payments should come to next to the invoice and which ample space. I tried with Pivot table but was not use
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
VBA would be easiest, am no expert in VBA though.

How do you know payuments 222222 and 222223 are for Invoice 111111 as in your second example and not for invoice 111112?
Invoice 111111 is for 50,000 so there's still a payment due on that invoice isn't there (10,000.00) ?
 
Last edited:
Upvote 0
The payments are allocated based on first in first out basis and hence the payment for 30000 and 10000 are allocated to invoice 111111.
 
Upvote 0

Forum statistics

Threads
1,214,986
Messages
6,122,611
Members
449,090
Latest member
vivek chauhan

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