Forum Discussion
Available Kms per week
- Mar 23, 2021
You did not adjust the input ranges in the formula.
The input columns are columns G:H, right? Therefore the formula in G3 should be...
=B7-SUMPRODUCT((WEEKNUM(--(G2:G100))=WEEKNUM(B2))*(H2:H100))You may adjust the input ranges G2:G100 and H2:H100 as per your requirement.
I have inserted one new record and the formula returned the balance kms correctly. Please refer to the attached.
Thankyou for looking. Unfortunately the formula only returns the same figure for Kms per week and is not affected by new input.... I have attached a reformatted spreadsheet with your formula inserted to hopefully highlight the issue 🙂
You did not adjust the input ranges in the formula.
The input columns are columns G:H, right? Therefore the formula in G3 should be...
=B7-SUMPRODUCT((WEEKNUM(--(G2:G100))=WEEKNUM(B2))*(H2:H100))You may adjust the input ranges G2:G100 and H2:H100 as per your requirement.
I have inserted one new record and the formula returned the balance kms correctly. Please refer to the attached.