The Poolie Bunker

A bunch of seriouly pissed off Hartlepool United fans..
It is currently Fri Nov 27, 2026 6:58 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 17 posts ] 
Author Message
 Post subject: Excel Help
PostPosted: Wed Dec 03, 2014 10:54 am 
Offline
User avatar

Joined: Wed Jun 13, 2007 10:25 am
Posts: 12959
Location: Huntingdon, Cambridge
Just wanting to know if any of you are good at excel as I need some help.

I have a spreadsheet of a list of products (codes are in column A) of which a customer uses and I want to get these from another spreadsheet of all of our products to give them next year pricing.

Now what I want to know instead of me going down and copying the customer products they use one by one is there a way I can highlight the product codes they use from spreadsheet one and get the information from the main price list with full product list on so i can copy and paste them into a new spreadsheet.

I hope that makes sense.

_________________
"Whenever you're feeling stupid just remember, some people believe the Earth is 6000 years old"
"Simplicity is the ultimate sophistication"


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 10:58 am 
Offline
User avatar

Joined: Sat May 19, 2007 11:00 am
Posts: 20758
Nope it doesnt.

_________________
I'd recommend a more stealthy plan than googling 'afternoon tea dog'.


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 10:59 am 
Are the product codes the same on each sheet?


Top
  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 11:00 am 
Offline
User avatar

Joined: Wed Mar 28, 2007 11:29 am
Posts: 7050
Location: Back home!
Click on the column header to highlight the block you want.

Then ctrl C to cut - the area should flash in a random styley

Then ctrl V to dump it onto your new spreadsheet.

If not, switch it off, then back on again confised bbolt

_________________
Now officially tinpot. ..thanks Coxall.


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 11:04 am 
Also, are the prices all int he same column on the 2nd sheet?

I'm guessing you just want to be able to type the product code in column A and column b will populate the price from the other sheet, yeah?


Top
  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 11:07 am 
Offline
User avatar

Joined: Wed Jun 13, 2007 10:25 am
Posts: 12959
Location: Huntingdon, Cambridge
Yeah they product codes are the same but in the customers spreadsheet obviously only the ones they use about 1000. The main spreadsheet of products has about 10,000 products so i dont want to be going through them all.

_________________
"Whenever you're feeling stupid just remember, some people believe the Earth is 6000 years old"
"Simplicity is the ultimate sophistication"


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 11:17 am 
Offline
User avatar

Joined: Tue Aug 16, 2011 3:59 pm
Posts: 3998
Location: The Town End
Could you not just highlight all columns and filter by customer?


Sent from my iPhone using Tapatalk


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 11:18 am 
That's fine then, the best thing for you to do would be to copy all of the codes into the same workbook onto sheet 2. In column b on sheet 1 where you want the prices use a VLOOKUP. Anything in square brackets just delete, it's just me explaining what it does. Leave the comma's in there though.

=VLOOKUP(A1[this is the cell it will be using to search the other sheet],Sheet 2!A1:B5000[this tells it where to look and where to reference],2[this is the number of cells it will count along so if the data is 2 cells to the right of the product code put 2],FALSE)

Once you have this code in the first one use the black box in the bottom right corner to drag down the page, paste your product codes into column a and it should find the prices for you.


Top
  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 11:19 am 
Offline
User avatar

Joined: Thu Aug 17, 2006 8:25 pm
Posts: 23006
VLOOKUP IS YOUR FRIEND!


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 11:20 am 
Offline

Joined: Sun Aug 17, 2014 4:55 pm
Posts: 135
Location: Essex
Sounds like you need a LOOKUP function. Copies bits across from other excel documents, doesn't even need to be in the same file. Not sure if that helps or not


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 11:21 am 
Offline

Joined: Sun Aug 17, 2014 4:55 pm
Posts: 135
Location: Essex
Ah yloop answered before i finished typing. Yep that's the way to do it.


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 12:43 pm 
Offline
User avatar

Joined: Wed Jun 13, 2007 10:25 am
Posts: 12959
Location: Huntingdon, Cambridge
yloop wrote:
That's fine then, the best thing for you to do would be to copy all of the codes into the same workbook onto sheet 2. In column b on sheet 1 where you want the prices use a VLOOKUP. Anything in square brackets just delete, it's just me explaining what it does. Leave the comma's in there though.

=VLOOKUP(A1[this is the cell it will be using to search the other sheet],Sheet 2!A1:B5000[this tells it where to look and where to reference],2[this is the number of cells it will count along so if the data is 2 cells to the right of the product code put 2],FALSE)

Once you have this code in the first one use the black box in the bottom right corner to drag down the page, paste your product codes into column a and it should find the prices for you.


Cheers what I have done is put the customer list in sheet 1 of new excel document and the full list in sheet 2.

The product code i am looking for is in column A and what i require from the full price list(sheet 2) is this year and next year prices for the relevant product codes. (product codes are in column a and 2014 prices in d and e respectively)

_________________
"Whenever you're feeling stupid just remember, some people believe the Earth is 6000 years old"
"Simplicity is the ultimate sophistication"


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 1:08 pm 
Offline

Joined: Sat Aug 10, 2013 5:25 pm
Posts: 1938
Vlookup(A1,A:E,5,FALSE)

A1 is sheet 1 and the A:E is sheet two, just highlight the cells in your formula rather than typing, the formula function will walk you through it

Do the same for each years price, to pull column D just change the 5 to a 4 in the formula


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 2:05 pm 
Offline
User avatar

Joined: Wed Jun 13, 2007 10:25 am
Posts: 12959
Location: Huntingdon, Cambridge
Yloop you have an email

_________________
"Whenever you're feeling stupid just remember, some people believe the Earth is 6000 years old"
"Simplicity is the ultimate sophistication"


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 2:07 pm 
Offline
User avatar

Joined: Sat May 19, 2007 11:00 am
Posts: 20758
Compo wrote:
Yloop you have an email



Can you please start a new thread to tell him this.

_________________
I'd recommend a more stealthy plan than googling 'afternoon tea dog'.


Top
 Profile  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 3:14 pm 
I have replied to a few emails now... Compo needs to be paying me a consultancy fee at this rate :laugh:


Top
  
 
 Post subject: Re: Excel Help
PostPosted: Wed Dec 03, 2014 3:48 pm 
Offline
User avatar

Joined: Wed Jun 13, 2007 10:25 am
Posts: 12959
Location: Huntingdon, Cambridge
Yep thanks a lot

_________________
"Whenever you're feeling stupid just remember, some people believe the Earth is 6000 years old"
"Simplicity is the ultimate sophistication"


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Corner Flag, poolie1966, PTID, Shrimper1906, Splod, stupoolie and 95 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group