Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Populate an Invoice from a variable length transaction file

$
0
0

I have a transaction file which has labor rows and material rows which need to be posted onto an invoice.  Column A in transaction file has an L if labor and a M if a material record:

Transaction file:

LLabor = 123.45

LLabor = 234.56

MPart1 = 333.33

LLabor = 22.25

MPart2  = 12.45

MPart3  = 56.45

On the Invoice spreadsheet which this data must be 'posted' to:

The VARIABLE number of Material rows must be on top and go down an UNLIMITED number of rows.  The labor will end up being just one summary line at the bottom of the invoice or right after the end of the Material lines.

INVOICE  EXAMPLE:

DescriptionAmount

Part1 333.33

Part2  12.45

Part3  56.45

TOTAL Labor380.26


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>