0

Last Entry for Each Subcontractor

Hi

I hope someone can help.

I am trying to do a report where i return the last entry in a the Subcontractor Ledger Entry table for each subcontractor, to give me a list of the last time a valuation was done for each subcontractor. When i have tried to use the last NL function, this only returns the very last entry in the table, but i need this for each subcontractor.

Due to the fact that thousands of valuations are posted each week, the run time on the report i have done is ridiculous, as i have only been able to return all of the rows over a given period.

What i have done on this is simply:

Cell F1: =NL("Rows","Subcontractor Ledger Entry",,"Sub-Contractor No.",$C$5,"Document Type",$C$3,"Posting Date",$C$2,"Labour Only",$C$4)
Cell G1: =NF($F7,"Posting Date")
Cell H1: =NF($F7,"Sub-Contractor No.")

If someone could give me some advice i would really appreciate it.

Many thanks

Tony Black

2 comments

Please sign in to leave a comment.