YaskinForrit
Programmer
I am adding new functionality to a spreadsheet which is used to record amounts paid into a christmas club.
The main sheet has 1 column for week 1 and 2 columns for each other week. (this is to keep a running total and cannot be removed). When someone does not make a payment, it is entered as 0.00
[tt]
No. NAME wk1amt wk2amt wk2tot wk3amt wk3tot
1 *** £10.00 £10.00 £20.00 £0.00 £20.00
2 *** £10.00 £0.00 £10.00 £0.00 £10.00
5 *** £5.00 £5.00 £10.00 £0.00 £10.00
6 *** £5.00 £5.00 £10.00 £5.00 £15.00
7 *** £10.00 £20.00 £30.00 £10.00 £40.00
8 *** £0.00 £5.00 £5.00 £0.00 £5.00
9 *** £0.00 £10.00 £10.00 £0.00 £10.00
10 *** £5.00 £5.00 £10.00 £5.00 £15.00
[/tt]
I need to identify when the person last made a payment.
I have a lookup which returns the last non-zero value: -
=LOOKUP(2,1/(VALUE(C$2
C$2)<>0),C$1
C$1)
but it only returns the last entry (which is the same for everybody).
Is there any way of restricting the look up array to just use the amt columns?
I would prefer not to use VBA as the PC this will be used on is locked down and macros are disabled in Excel
The main sheet has 1 column for week 1 and 2 columns for each other week. (this is to keep a running total and cannot be removed). When someone does not make a payment, it is entered as 0.00
[tt]
No. NAME wk1amt wk2amt wk2tot wk3amt wk3tot
1 *** £10.00 £10.00 £20.00 £0.00 £20.00
2 *** £10.00 £0.00 £10.00 £0.00 £10.00
5 *** £5.00 £5.00 £10.00 £0.00 £10.00
6 *** £5.00 £5.00 £10.00 £5.00 £15.00
7 *** £10.00 £20.00 £30.00 £10.00 £40.00
8 *** £0.00 £5.00 £5.00 £0.00 £5.00
9 *** £0.00 £10.00 £10.00 £0.00 £10.00
10 *** £5.00 £5.00 £10.00 £5.00 £15.00
[/tt]
I need to identify when the person last made a payment.
I have a lookup which returns the last non-zero value: -
=LOOKUP(2,1/(VALUE(C$2
but it only returns the last entry (which is the same for everybody).
Is there any way of restricting the look up array to just use the amt columns?
I would prefer not to use VBA as the PC this will be used on is locked down and macros are disabled in Excel