tourless
Board Regular
- Joined
- Feb 8, 2007
- Messages
- 144
- Office Version
- 365
- Platform
- Windows
Hi Folks,
I have two sheets, 'Details' (contains invoice line items) and 'Summary' (contains invoice totals only. Both sheets contain values starting at row 6 and have intermittent spaces between sets of values. Details is separated by invoice numbers in column C and Summary is separated by customer numbers in column A. I would like to be able to look at the details sheet, column E and each time the words '(Textile Fee)' appears, take the value from column C of that row and find it on the summary sheet (also in column C), when found take the value of column E of the summary sheet and subtract it from the value in column J of the details sheet but one row below where we found the phrase '(Textile Fee)'. Then take the result of that calculation and add it to the value found in the details sheet, column I of the row where we found the phrase "(Textile Fee)'.
That's the logic, and here's the problem... By truncating column I of the my details sheet to only two digits past decimal, each invoice will total a few pennies off in most instances to the correct total listed on the summary sheet. To make up that difference I have the flexibility to add those pennies back to the textile fee line item on the details sheet. Right now that is still a manual process.
Not sure if I should open this as a new post but since it builds upon my original question I'm going to leave it here for now and leave it to the moderators to decide.
I have two sheets, 'Details' (contains invoice line items) and 'Summary' (contains invoice totals only. Both sheets contain values starting at row 6 and have intermittent spaces between sets of values. Details is separated by invoice numbers in column C and Summary is separated by customer numbers in column A. I would like to be able to look at the details sheet, column E and each time the words '(Textile Fee)' appears, take the value from column C of that row and find it on the summary sheet (also in column C), when found take the value of column E of the summary sheet and subtract it from the value in column J of the details sheet but one row below where we found the phrase '(Textile Fee)'. Then take the result of that calculation and add it to the value found in the details sheet, column I of the row where we found the phrase "(Textile Fee)'.
That's the logic, and here's the problem... By truncating column I of the my details sheet to only two digits past decimal, each invoice will total a few pennies off in most instances to the correct total listed on the summary sheet. To make up that difference I have the flexibility to add those pennies back to the textile fee line item on the details sheet. Right now that is still a manual process.
Not sure if I should open this as a new post but since it builds upon my original question I'm going to leave it here for now and leave it to the moderators to decide.