Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using Excel dropdown to determine which values to display

Posted on 2014-01-28
6
Medium Priority
?
225 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 34

Assisted Solution

by:Rob Henson
Rob Henson earned 1400 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 600 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Closing Comment

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

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 34

Expert Comment

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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

879 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