Hi there.
Bit of an odd one, I can't quite put my finger on what's causing this problem, so perhaps someone can shed some light.
I have a workbook with several worksheets, this focussing on the relationship between three of them. The sheets are entitled: "Product List", "Stock Take" and "Summary".
"Product List" contains a heap of manually-entered data about all of the products. I do not believe this is causing the current issue, but include it as it is referred to by the other sheets in question.
---
"Stock Take": This sheet is used for recording stock by location, providing an ultimate total.
Column A- "Product Code" A manually-entered three-letter code referring to an individual stock item (e.g., APT)
Column B- "Product" The full name of a stock item, the name drawn from looking up Column A's code in the Product List. (e.g. "Appletiser")
Column C / D- Empty columns, as some of the products have longer names.
Columns E through K- Various locations in which stock is held (e.g. "Bar", "Kitchen"), with the stock figure manually entered below.
Column L- Empty.
Column M- "Current Stock" - A simple =SUM formula totalling the stock figures across all of the locations.
---
"Summary": This is a locked sheet which draws information from several other sheets, including "Stock Take", to provide an overall summary.
Column A & B- "Product Code" and "Product": identical to "Stock Take".
Columns C through E: Empty columns.
Column F- "Opening Stock": draws its figure from a sheet entitled "Stock In".
Column G- "Total Wastage": draws its figure from a sheet entitled "Stock Usage"
Column H- "Total Sales": draws its figure from the same sheet as column G.
Column I- "Expected Stock": The expected stock level, calculated with =F4-G4-H4 (for example).
Column J- "Actual Stock": Draws its figure from the "Stock Take" sheet, and this is where the problem is arising. The formula for the top line of stock, J3, reads:
Please Login or Register to view this content.
This reports the correct figure, and does so all the way down to J105. However, below J105, with the same formula, all stock reports a figure of 0, which is not correct. The sum figures on the "Stock Take" page are correct, so there appears to be an issue with the lookup. However, I can't for the life of me understand what it could be: I have checked to ensure the cells have not been formatted or rounded in any way, but all are set as General, and I have attempted to use VLOOKUP but am something of an amateur, and haven't managed to produce a figure in the cell this way, letalone the correct figure.
For rows with no code in their A column, #N/A is correctly reported.
Any help?
Bookmarks