troubleshooting Question

Changing data displayed on a worksheet using drop-down box and second worksheet

Avatar of jmcclosk
jmcclosk asked on
Microsoft Excel
3 Comments2 Solutions343 ViewsLast Modified:
I have two worksheets in a workbook.  The first worksheet is just a classic table of data for every single pallet location in a warehouse (upwards of 20,000 rows).  For each location, there are eight fields of data:

1. Cell# on worksheet 2 that corresponds to this location
2. Location
3. Area
4. Warea
5. Wzone
6. Capacity
7. Velocity
8. Travel Seq

The second worksheet is a visual layout of the warehouse with each cell being a unique location relating to one of the rows in the first worksheet.

In Cell A1 of the second worksheet, I have a drop-down list where the end user can select any one of the seven fields (not including Cell#).  When they make a choice, I want the second (visual) worksheet to update all 20,000 cells to display the piece of data associated with the users selection.

For example, if the user selected "Location", I want all 20,000 cells to display the unique location# associated with that cell#.  Then, if they select "Capacity", I want all 20,000 cells to update and show the pallet capacity for the location associated with that cell#.

I know how to make the worksheet update when the end user makes a selection.  But, I don't know how to write the formula for each cell on spreadsheet 2.

Would I use some kind of VLOOKUP formula?  If so, what syntax do I use to have it look up the curernt cell# as the lookup value?  And, how do I tell it how many columns to go to the right to get which piece of data depending on what the end user wants to see?

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros