Hi
I have a table with budget versions by line item data for multiple projects
example project

Each category code name item have a budget revision number (example of a category code name item below)

I need a formula to filter old budget revision numbers except the last one (in the example it would be budget revision 3).
The last budget revision number will be different for each project in the table so I need to make sure the formula is always picking up the latest record instead of a fixed number. Any ideas?
Thanks