Summarizing data for multiple locations based on drop down result

muad'ebe

New Member
Joined
Jun 12, 2002
Messages
18
I've developed a workbook to calculate pricing. Pricing for labor differs based on location - there are 4 locations. A location is chosen and then labor rates auto populate the worksheet(s) based on the chosen location. The location is a drop down list with results 1,2,3,4 in cell M3. (City1, City 2, City 3, City 4)

I can easily summarize the data for the selected location.

I would like to be able to summarize the data side by side for each of the 4 locations simultaneously, even though one specific location has been selected. So it would be the summary as if I chose each location separately, but simultaneously regardless of the selected location.

Is there a formula to collect summary data for locations 1, 2, 3, & 4 (cell M3) even though the pricing has been based on the actual (single) location selected in cell M3?

All labor rates populate the worksheet using vlookup based on the selected location.

Hope I was able to explain the problem clearly. Thank you in advance for any help you may be able to offer.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
I added a screenshot example to better illustrate the problem. In the screenshot the rate & burden are pulled into the table based on the value of cell M3. I would like to be able to have the summary populate with the total for each location (1-4) regardless of which location number is selected in M3. I would like to have a formula that will calculate and populate as if the M3 was a different location number to compare data for each location in the summary table regardless of selected location. Thanks for taking a look.
 

Attachments

  • Screenshot 2022-03-03 160208.jpg
    Screenshot 2022-03-03 160208.jpg
    176 KB · Views: 15
Upvote 0
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Summarizing data based "as if" a cell contained different number
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Summarizing data based "as if" a cell contained different number
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
Also posted same question here:

Summarizing data based "as if" a cell contained different number
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top