Adding formula to accommodate drop down

creative999

Board Regular
Joined
Jul 7, 2021
Messages
84
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
I have a summary sheet which has several different formulas. The actual data is spread across multiple worksheets.
I need the selectable drop down (ie abc, xyx, ALL) on the summary sheet to work for each formula. These formulas are a sumif, countif, unique count, average. Each data worksheet has a common column name called Customer but is in a different column location in each sheet.

Amy suggestions?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Forgot to add:

‘Each data worksheet has a common column name called Customer’

This is the selectable drop down list.
 
Upvote 0
Does the dropdown refer to a sheet, or items within the 'Customer' column of a sheet? If you need the formula to look at items within the customer column on every sheet and aggregate the results to a single total in the summary sheet then it could get very messy.

It may be necessary to clean things up by collating the data into a table on the summary sheet before attempting to do anything with it.
 
Upvote 0
Does the dropdown refer to a sheet, or items within the 'Customer' column of a sheet? If you need the formula to look at items within the customer column on every sheet and aggregate the results to a single total in the summary sheet then it could get very messy.

It may be necessary to clean things up by collating the data into a table on the summary sheet before attempting to do anything with it.

Formulas need to look at items within each sheet / customer columns and aggregate the results in the summary sheet.
Am I righting in thinking every formula on the summary will need to be adjusted to cater for the drop down list, ie adding a IF at the start. Will be very messy ;)
 
Upvote 0
Formulas need to look at items within each sheet / customer columns and aggregate the results in the summary sheet.
So as an example, if you had say Sheet1 and Sheet2 with a customer column on each, and a criteria of "xyz" in the dropdown then the countif formula would need to return the count of "xyz" on both sheets?

How many sheets do you have with "Customer" columns on them? Are more going to be added later?
 
Upvote 0
Additionally, you only mentioned the customer column in the sheets, but some of the formulas would be looking at more than 1 column so we would need all of the information, not just part of it. Are all columns that the formulas refer to going to be in different positions on each sheet?
 
Upvote 0
Ea
Additionally, you only mentioned the customer column in the sheets, but some of the formulas would be looking at more than 1 column so we would need all of the information, not just part of it. Are all columns that the formulas refer to going to be in different positions on each sheet?
Each worksheet has a different data set. Some has amounts, some have dates, etc. the summary sheet which has the formulas summarises each of these. But the drop down needs to recalculate based on customer which is available across all the sheets. Hope that makes sense.
 
Upvote 0
Hope that makes sense
Nope.

As an example, you said that you have a SUMIF formula. That will require a criteria range (customer) and a range to sum in every sheet. We would need to know how the sum range relates to the customer column, is it the same for each sheet? If not then you have a greater chance of shooting the moon with a water pistol than finding a solution.

To be honest, each reply from you is making it look more impossible than the last. Without a visual example of a couple of sheets and the expected summary I'm not even going to think about attempting anything.
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,655
Members
448,975
Latest member
sweeberry

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