Extracting rows from a large price list

Dana20000

New Member
Joined
Jan 31, 2020
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi, I have a suppliers price list with over a thousand rows, I want to extract around 300 rows that are relevant to my business. The supplier price list has unique 6 digit number for each row in colum A. I have a list of those unique numbers, can I use it to help me extract the rows I want on a new spreadsheet rather than me going through the original price list manually deleting the rows I don't want?
thanks
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi & welcome to MrExcel.
A few questions.
1) Where is the price list, Sheet name & range?
2) Where is the list of numbers?
3) Where do you want to extract the data to?
 
Upvote 0
Thanks for the welcome, Sorry left a lot out, Suppliers price list is in excel column A has list of unique codes, column B has item description, column C has strength of product, column D has pack size and column G has price, data is contained in rows 5 to 1841 inclusive. I have a separate spreadsheet with the same in columns A, B, C & D and are the products I stock at the moment 300 rows 2 to 302 inclusive (may vary month to month), what I need to do is extract these from the suppliers spreadsheet with the prices, essentially making the price list customised to my inventory. Hope I've explained myself okay? Good luck with the rugby Fluff, big Wales supporter here!
 
Upvote 0
Hi and welcome to MrExcel!

It looks like a vlookup formula.
Check if this is what you need:

Book1
ABCDG
1
2
3
4codesdescriptionproductpack sizePrice
5123100
6456200
7789300
8852400
9963500
Suppliers


Book1
ABCDE
1codesdescriptionproductpack sizePrice
2123100
3789300
4963500
5
inventory
Cell Formulas
RangeFormula
E2:E4E2=VLOOKUP(A2,Suppliers!A:G,7,0)
 
Upvote 0
Thank you Dante, have got it working in a fashion, formula works but cannot seem to highlight the cells with the correct formulas in and drag them down to the bottom of the worksheet to populate all my prices? Also, looking at the formula, why do we put the 7,0 at the end? Sorry for the newbie question
 
Upvote 0
but cannot seem to highlight the cells with the correct formulas in and drag them down to the bottom of the worksheet to populate all my prices
I do not understand what you mean.
You could put a sample of your data from the 2 sheets. Use XL2BB tool.

In this formula A is 1, B is 2, C is 3, D is 4, E is 5, F is 6 and G is 7.
That's why you have a 7 to get the value of column G.
And 0 means that the match must be exact.
 
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,446
Members
449,083
Latest member
Ava19

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top