Solved

Using Excel dropdown to determine which values to display

Posted on 2014-01-28
6
185 Views
Last Modified: 2014-01-28
Hi,

See attached,
I need to produce identical financial statements for 3 different locations of a particualar company.

I want to use a dropdown which will display the 3 locations (London, Paris , New York).

How do I change the values displayed - as a result of changing the location chosen.

See attached.
DropDownEE1.xlsx
0
Comment
Question by:Patrick O'Dea
  • 3
  • 2
6 Comments
 
LVL 32

Assisted Solution

by:Rob Henson
Rob Henson earned 350 total points
ID: 39814805
In C3 put this formula and then copy down for the other two:

=VLOOKUP($B3,MasterSheet!$A$1:$D$4,MATCH($C$2,MasterSheet!$A$1:$D$1,0),FALSE)

Thanks
Rob H
0
 

Author Comment

by:Patrick O'Dea
ID: 39814832
Thanks Rob,

I am not a great fan of Vlookup (which may or may not be a sensible opinion).

In the real world my requirement will involve data sheets that may have about 3,000 rows and I need to feel 100% confident of a robust solution.

Any alternatives to VLookup ?
Perhaps I should just stick with it?
0
 
LVL 18

Accepted Solution

by:
Steven Harris earned 150 total points
ID: 39814883
As long as it setup correctly, the VLOOKUP robhenson suggested will be just as 'robust' as any other.  If you wanted to move away from the formula, you would need to go with VBA.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Closing Comment

by:Patrick O'Dea
ID: 39814963
Thanks!
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 39815142
The only other option I can think of would be use of the DFunctions, the syntax for those is, for example DGET:

=DGET(Database,Field,Criteria)

The Database would be the whole dataset, in example had 4 columns with headers and 3 rows of data.

Field would be city dropdown choice, works in this scenario as you have the City as a column header.

Criteria, this would need a little bit of work as your column with Sales etc didn't have a header.

Thanks
Rob H
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 39815155
Example of dsum attached
Copy-of-DropDownEE1.xlsx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now