Hello Folks,
I have a very large spreadsheet (139,000 rows cut into multiple worksheets) with columns of data that includes various line item costs and a corresponding ID number. The ID number repeats itself providing multiple line items per each ID number. This would be similar to multiple line items identified and grouped by a single invoice number. I have subtotaled the line items based on the invoice numbers using Micro Soft 2007 subtotal function which took a while but worked great.
The ID numbers (invoice numbers)are 12 digits and can indicate later adjustments by the subtitution of the last digit for a 1,2, 3 or 4 depending on how many times the invoice has been adjusted.
123456789000 - Original invoice (presently subtotaled)
123456789001 - First adjustment to original invoice
123456789002 - Second adjustment to original invoice
123456789003 - Third adjustment to original invoice
123456789004 - Fourth adjustment to original invoice.
What I would like to do is obtain all of the subtotals that incorporate the most recent adjustment. In other words if 123455678900 was revised then my grand total should ignore 12345678900 and take the subtotal from 12345678901 or 02, or 03, or 04. This would depend on how many revisions were made to the original line item subtotal. In this respect I would be looking at the ultimate true total of all invoices incorporating all subsequent adjustments and revisions to date.
Is there a formula or function that would help me with this requirement.
I thank you in advance and appreciate the effort.
John B
I have a very large spreadsheet (139,000 rows cut into multiple worksheets) with columns of data that includes various line item costs and a corresponding ID number. The ID number repeats itself providing multiple line items per each ID number. This would be similar to multiple line items identified and grouped by a single invoice number. I have subtotaled the line items based on the invoice numbers using Micro Soft 2007 subtotal function which took a while but worked great.
The ID numbers (invoice numbers)are 12 digits and can indicate later adjustments by the subtitution of the last digit for a 1,2, 3 or 4 depending on how many times the invoice has been adjusted.
123456789000 - Original invoice (presently subtotaled)
123456789001 - First adjustment to original invoice
123456789002 - Second adjustment to original invoice
123456789003 - Third adjustment to original invoice
123456789004 - Fourth adjustment to original invoice.
What I would like to do is obtain all of the subtotals that incorporate the most recent adjustment. In other words if 123455678900 was revised then my grand total should ignore 12345678900 and take the subtotal from 12345678901 or 02, or 03, or 04. This would depend on how many revisions were made to the original line item subtotal. In this respect I would be looking at the ultimate true total of all invoices incorporating all subsequent adjustments and revisions to date.
Is there a formula or function that would help me with this requirement.
I thank you in advance and appreciate the effort.
John B