Hello All,
I know this may be simple, but I am trying to create a macro that will copy certain rows based on the value in column A. Here are some details:
I have 2 separate workbooks, one with 6 separate sheets of 6 months of data (sheet1) (which I will need to reference against) and another spreadsheet where the data manipulation will occur (sheet2).
I will have data pasted and sorted descending by column A (price) and ascending by column B (part numbers) on sheet2 (so that the top of the sheet will reflect the highest prices but keep the part numbers together). At this point, I will need the macro to be run. Here are the parameters:
I need to have only the top ten part numbers with highest price remaining. However, if the part number (column B) is present in any of the 6 worksheets in Sheet1, I do not want these rows to be included in the list.
I know that this will take some sort of If Statement and Loop, but am not exactly sure how to set it up. Any help would be awesome. Thanks!
I know this may be simple, but I am trying to create a macro that will copy certain rows based on the value in column A. Here are some details:
I have 2 separate workbooks, one with 6 separate sheets of 6 months of data (sheet1) (which I will need to reference against) and another spreadsheet where the data manipulation will occur (sheet2).
I will have data pasted and sorted descending by column A (price) and ascending by column B (part numbers) on sheet2 (so that the top of the sheet will reflect the highest prices but keep the part numbers together). At this point, I will need the macro to be run. Here are the parameters:
I need to have only the top ten part numbers with highest price remaining. However, if the part number (column B) is present in any of the 6 worksheets in Sheet1, I do not want these rows to be included in the list.
I know that this will take some sort of If Statement and Loop, but am not exactly sure how to set it up. Any help would be awesome. Thanks!