Hi all,
I have quite a complicated request that I hope someone can shine some light on because I'm hopeless at this sort of thing.
I have a list of data pulled from an SQL query. Each row has a date against it. In another sheet, I would like to display only the rows that contain a date from the last 7 days. This bit is not too difficult (I have achieved it with excel formulae) but this problem comes when I want to retain that data added to these rows.
For instance, if a new row is inserted since an event has happened today, it will appear at the top of the list. The other items in the list would have had extra info in adjacent columns written against them, and this data will remain stationary while all the other rows being pulled from the query page will move down, thus jumbling all my data up.
What I'm wondering is if theres a way to keep this data in line with the data it has been written against?
Attached is an edited version of the workbook I am using. The SQL data is in the 'Raw Mats' tab and the pulled data is in the other. Currently it is displaying the rows from the last 7 days with some random info that I typed next to it.
Example Workbook.xlsx
Hope you guys can help. I thank you in advance.
Bookmarks