Hi there,
I'm relatively new to Excel, but have tried my hand at creating a little spreadsheet that helps make mini-report writing easier in my job. What I have is one sheet with customers and their products (call it Products Sheet), one sheet (let's call Input Sheet) which has an input row (locked to the top of the page), whereby someone can select a customer and a product, enter the quantity ordered and it pulls the relevant data from the the products sheet. This is all working fine.
My issue comes from this; I have a third sheet, in which certain products need what we call a "pick list" for the warehouse, so they know what products and quantities to "pick" out of the warehouse. I have a macro called "Add another" on the Input Sheet in which it takes the information in the input row and moves it further down the sheet (to row 6), clears the contents of a few of the cells but keeps cells like customer, order number and delivery date. This is for some of the people at my work, making everything as simple as possible. For the sake of being able to add multiple products to an order "pick list", the macro copies the entire row, I right click the 6 on the left hand side and click "Insert Copies Cells", as I felt this made the macro writing easier as then column 6 would move down to 7, and 6 downwards would always be the products ordered.
In my third sheet, it is what I call the "cover sheet". In it it has cell references that check if specific cells in row 6, 7 etc. are blank and if not, put the relevant data in them. It is this sheet that will be printed so the references must be correct. My problem is, if it says to look up B6, and I run the macro and insert a new row, it changes the reference in the third sheet to B7. I've added $'s before and after the B and the 6, but that doesn't seem to have helped. The formula in the cell now reads:
=IF(ISBLANK('Input Sheet'!$B$7),"",'Input Sheet'!$B$7)
That was, if B7 is blank, it shows nothing, if it has something in it, it shows what's in it.
Can anyone see why this would be a problem, and how I can rectify it? Thanks, any help is much appreciated.
Bookmarks