01-31-2020 06:36 AM
01-31-2020 06:36 AM
Hello, new member first time post. Thanks for considering my issue.
I have a sheet that draws its data from Syspro (our accounting software) and it populates columns and rows. This sheet is about 20 columns wide and 350 rows. Since I don't need all that data I have another sheet that only uses the rows and columns I need. The rows are in numerical order by 'item number' in column A.
Say the rows start at 100 and go to 900 but not using every number since there are not items created yet. Every so often when a new item is created in Syspro, it automatically populates the first sheet and inserts it in the row in numerical order. Now my second (smaller) sheet that references less columns and rows is thrown off by any row that comes after the new item created. Say the new item number was 425 and it was automatically inserted into row 300 (previously used by item number 426), now if a cell on sheet 2 used to reference row 300 as item 426 and all its corresponding data, it will now reference the same row (300) but will reference item 425 since that was automatically inserted into row 300.
When this happens I have to manually go in and select each cell, and enter the new formula. This is time consuming and takes hours!
Since the cells do not reference every row and they skip some, we cannot just change the formula in one cell and drag it.
My goal is to find a way to have them follow the data they reference even if they are shifted down because one was added in their row.
This one has me stumped but I feel like it should be a simple answer.
01-31-2020 06:39 AM
01-31-2020 07:23 AM - edited 01-31-2020 07:26 AM
@Jeffmyers I suspect that your import from the accounting system is dumping an entirely new (sorted) table in your first sheet. In other words, it does not insert a row in the Excel sheet.
You need to make a VLOOKUP (or LOOKUP or a combination of INDEX and MATCH) function in your other sheet so that it always finds item number 425 irrespective of the row number in the first sheet.