Resend my activation email : Register : Log in 
BCF: Bike Chat Forums


Excel question

Reply to topic
Bike Chat Forums Index -> The Geek Zone
View previous topic : View next topic  
Author Message

nowhere.elysium
The Pork Lord



Joined: 02 Mar 2009
Karma :

PostPosted: 15:51 - 18 Feb 2015    Post subject: Excel question Reply with quote

I've got a workbook with two sheets in it.

Sheet 1 is a customer tracking sheet, so it contains a list of purchases.
Sheet 2 is a list of commodities and prices for said purchases.

I have a data validation drop-down list in Sheet 1 that reads from sheet 2 - cell D2 in this case. I want the cell next to that (E2) to show the price from sheet 2, which is stored in a cell adjacent to the product in sheet 2.

How do I go about this? I appreciate that I'm asking the question fairly clumsily, but I'm hoping it's clear enough to make sense.
____________________
'10 SV650SF, '83 GS650GT (it lives!), Questionable DIY dash project, 3D Printer project, Lasercutter project
 Back to top
View user's profile Send private message You must be logged in to rate posts

The Shaggy D.A.
Super Spammer



Joined: 12 Sep 2008
Karma :

PostPosted: 15:59 - 18 Feb 2015    Post subject: Reply with quote

VLookup should do it, got an example spreddy you could post?
____________________
Chances are quite high you are not in my Monkeysphere, and I don't care about you. Don't take it personally.
Currently : Royal Enfield 350 Meteor
Previously : CB100N > CB250RS > XJ900F > GT550 > GPZ750R/1000RX > AJS M16 > R100RT > Bullet 500 > CB500 > LS650P > Bullet Electra X & YBR125 > Bullet 350 "Superstar" & YBR125 Custom > Royal Enfield Classic 500 Despatch Limited Edition (28 of 200) & CB Two-Fifty Nighthawk > ER5
 Back to top
View user's profile Send private message You must be logged in to rate posts

nowhere.elysium
The Pork Lord



Joined: 02 Mar 2009
Karma :

PostPosted: 16:01 - 18 Feb 2015    Post subject: Reply with quote

I can't get Vlookup to behave itself across sheets, but I'll try to post it up in a sec.
____________________
'10 SV650SF, '83 GS650GT (it lives!), Questionable DIY dash project, 3D Printer project, Lasercutter project


Last edited by nowhere.elysium on 16:05 - 18 Feb 2015; edited 1 time in total
 Back to top
View user's profile Send private message You must be logged in to rate posts

The Shaggy D.A.
Super Spammer



Joined: 12 Sep 2008
Karma :

PostPosted: 16:05 - 18 Feb 2015    Post subject: Reply with quote

Here's a quickie - hope it attaches
____________________
Chances are quite high you are not in my Monkeysphere, and I don't care about you. Don't take it personally.
Currently : Royal Enfield 350 Meteor
Previously : CB100N > CB250RS > XJ900F > GT550 > GPZ750R/1000RX > AJS M16 > R100RT > Bullet 500 > CB500 > LS650P > Bullet Electra X & YBR125 > Bullet 350 "Superstar" & YBR125 Custom > Royal Enfield Classic 500 Despatch Limited Edition (28 of 200) & CB Two-Fifty Nighthawk > ER5
 Back to top
View user's profile Send private message You must be logged in to rate posts

Jefr0
World Chat Champion



Joined: 29 Jul 2007
Karma :

PostPosted: 16:06 - 18 Feb 2015    Post subject: Reply with quote

Nothing to see here Embarassed
____________________
Rides: Honda XR 125 ('03) Honda CBR 600F ('91), Ducati 916 Biposto ('95)


Last edited by Jefr0 on 16:22 - 18 Feb 2015; edited 1 time in total
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

Aff
World Chat Champion



Joined: 05 May 2011
Karma :

PostPosted: 16:07 - 18 Feb 2015    Post subject: Reply with quote

Like this?

:edit: such slow.
____________________
Current Bikes:Honda 929RR Fireblade, Honda CD200 Benly (Project), Stomp Z2 140
Electric Bike Project


Last edited by Aff on 16:08 - 18 Feb 2015; edited 2 times in total
 Back to top
View user's profile Send private message You must be logged in to rate posts

nowhere.elysium
The Pork Lord



Joined: 02 Mar 2009
Karma :

PostPosted: 16:08 - 18 Feb 2015    Post subject: Reply with quote

Done, thanking you Mr. Shaggy.
____________________
'10 SV650SF, '83 GS650GT (it lives!), Questionable DIY dash project, 3D Printer project, Lasercutter project
 Back to top
View user's profile Send private message You must be logged in to rate posts

The Shaggy D.A.
Super Spammer



Joined: 12 Sep 2008
Karma :

PostPosted: 16:08 - 18 Feb 2015    Post subject: Reply with quote

nowhere.elysium wrote:
I can't get Vlookup to behave itself across sheets, but I'll try to post it up in a sec.


make E2 :-

=VLOOKUP(D2,Sheet2!$A$2:$B$15,2,FALSE)
____________________
Chances are quite high you are not in my Monkeysphere, and I don't care about you. Don't take it personally.
Currently : Royal Enfield 350 Meteor
Previously : CB100N > CB250RS > XJ900F > GT550 > GPZ750R/1000RX > AJS M16 > R100RT > Bullet 500 > CB500 > LS650P > Bullet Electra X & YBR125 > Bullet 350 "Superstar" & YBR125 Custom > Royal Enfield Classic 500 Despatch Limited Edition (28 of 200) & CB Two-Fifty Nighthawk > ER5
 Back to top
View user's profile Send private message You must be logged in to rate posts

nowhere.elysium
The Pork Lord



Joined: 02 Mar 2009
Karma :

PostPosted: 16:14 - 18 Feb 2015    Post subject: Reply with quote

Gotta admit, I'm now wondering if it's possible to hook Excel into AD to do a proper name lookup with, but that's a project for another day, methinks Laughing

Thanks for your help folks - you've made my life distinctly easier now Very Happy
____________________
'10 SV650SF, '83 GS650GT (it lives!), Questionable DIY dash project, 3D Printer project, Lasercutter project
 Back to top
View user's profile Send private message You must be logged in to rate posts

The Shaggy D.A.
Super Spammer



Joined: 12 Sep 2008
Karma :

PostPosted: 16:22 - 18 Feb 2015    Post subject: Reply with quote

The Shaggy D.A. wrote:
nowhere.elysium wrote:
I can't get Vlookup to behave itself across sheets, but I'll try to post it up in a sec.


make E2 :-

=VLOOKUP(D2,Sheet2!$A$2:$B$15,2,FALSE)


if you want to be posh, in sheet 2 you can highlight the range A2-B15 and give it a name, eg "ProductList", then the formula in sheet 1 can be :-

=VLOOKUP(D2,ProductList,2,FALSE)
____________________
Chances are quite high you are not in my Monkeysphere, and I don't care about you. Don't take it personally.
Currently : Royal Enfield 350 Meteor
Previously : CB100N > CB250RS > XJ900F > GT550 > GPZ750R/1000RX > AJS M16 > R100RT > Bullet 500 > CB500 > LS650P > Bullet Electra X & YBR125 > Bullet 350 "Superstar" & YBR125 Custom > Royal Enfield Classic 500 Despatch Limited Edition (28 of 200) & CB Two-Fifty Nighthawk > ER5
 Back to top
View user's profile Send private message You must be logged in to rate posts

nowhere.elysium
The Pork Lord



Joined: 02 Mar 2009
Karma :

PostPosted: 16:26 - 18 Feb 2015    Post subject: Reply with quote

The Shaggy D.A. wrote:
Fancy tricks
That's pretty useful actually - our price list changed partway through the year, so I'd be able to include the outdated prices on old transactions. Nice. Thumbs Up
____________________
'10 SV650SF, '83 GS650GT (it lives!), Questionable DIY dash project, 3D Printer project, Lasercutter project
 Back to top
View user's profile Send private message You must be logged in to rate posts
Old Thread Alert!

The last post was made 10 years, 314 days ago. Instead of replying here, would creating a new thread be more useful?
  Display posts from previous:   
This page may contain affiliate links, which means we may earn a small commission if a visitor clicks through and makes a purchase. By clicking on an affiliate link, you accept that third-party cookies will be set.

Post new topic   Reply to topic    Bike Chat Forums Index -> The Geek Zone All times are GMT
Page 1 of 1

 
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Read the Terms of Use! - Powered by phpBB © phpBB Group
 

Debug Mode: ON - Server: birks (www) - Page Generation Time: 0.07 Sec - Server Load: 0.58 - MySQL Queries: 13 - Page Size: 73.08 Kb