Good morning
I am looking for a formula that I can incorporate into an xlookup that will allocate the invoice value up to the value on the first PO line 1 before it uses the value in PO line 2. the xlookup is currently set to select the latest PO line number.
I am looking for a formula that I can incorporate into an xlookup that will allocate the invoice value up to the value on the first PO line 1 before it uses the value in PO line 2. the xlookup is currently set to select the latest PO line number.
Invoice line | Net amount | |
123 | 20,000.00 | |
124 | 506.50 | |
125 | 243.42 | |
126 | 189.77 | |
127 | 435.54 | |
128 | 5,000.00 | |
129 | 55.71 | |
130 | 350.28 | |
131 | 22,000.00 | |
132 | 6.34 | |
133 | 0.05 | |
134 | 411.35 | |
135 | 174.05 | |
136 | 605.78 | |
137 | 1,063.53 | |
138 | 55.69 | |
139 | 200.54 | |
140 | 0.68 | |
141 | 76.91 | |
PO Number | PO Line | PO Value |
345678 | 1 | 50,000.00 |
345678 | 2 | 600,000.00 |