Excel Formula for FIFO Payment Calculation

Job ID: 39062276

Budget: $30 – $250 USD

I'm looking for an Excel expert who can help me create a formula that calculates payment using the FIFO (First In, First Out) method for my invoices. The data is spread across multiple sheets, so the freelancer will need to be comfortable with cross-sheet referencing.

Key Requirements:
- Expertise in Excel, particularly with complex formulas and cross-sheet referencing.
- Previous experience dealing with invoice data
- Understanding of FIFO payment calculation

The invoice data includes:
- Multiple sheets with different invoice amounts and dates
- Payment records
- A column that indicates how much credit can be taken (PBC) if the credit value is sufficient

The ultimate goal is to use this formula to reduce the net credit to be paid. Please note that attention to detail is crucial in this task as any miscalculation can lead to significant discrepancies.