Hi All
First time poster, long time lurker (great site btw Chandoo). Intermediate at best Excel user, so i'm looking to those more proficient than i am from this excellent site.
Background : Still on Excel 2003 for now. Majority of my dynamic reports typically combine CHOOSE (linked to a Combo-Box (Forms)) + Named ranges + VLOOKUPs to give the end user selectable options for a dynamic chart/data.
I'm trying to create a new report which i thought may be easy in theory, but in practice i seem to be going around the houses. I'm trying to create a dashboard where the end user makes checkbox choices on 3 data fields (Division, Region, Location), i want them to be able to make multiple choices in each checkbox section. For arguments sake (the data i'm showing is fictional for business confidentiality) there are around 20 locations, 30 regions, 20 divisions.
Data looks similiar to below;
[pre]
[/pre]
I've created the check boxes (via Forms) in the display sheet. These are linked to a control sheet behind with a simple IF formula to convert the TRUE's into 1. Then combining COUNTIF,ROWS, & INDEX & MATCH formulas i've got as far as having 3 dynamic ranges of the selections made in the 3 checkboxes
Division Selections //Region Selections// Location Selections
*Multiple choices below each column header*
The dynamic Division Selections have a named range called "Division", the dynamic region selections have a named range called "Region", and the dynamic location selection have a named range called "Location".
I'm now trying to sum the sales volumes based on the choices made. SUMPRODUCT seems to fit the bill.
On the sheet where the original data is located, I've tried the following formula to do this:
=SUMPRODUCT(--(A1:A1000=Division),--(B1:B1000=Region),--(C1:C1000=Location),--(D1:D1004="Sales Volume"))*E1:E1000
This is returning a #NA result.
From a results perspective (using the fictional data above). If the user selected:
Checkboxes Option 1 : Sales Division
Checkboxes Option 2 : NE & SE
Checkboxes Option 3 : London & Birmingham
I'd want the result to return 36.
Can anybody help? Am i on the right track even?!
Unfortunately due to internet restrictions i'm unable to upload a dummy workbook so i've tried to include all the relevant information. Hopefully not too long winded!
Thanks in advance
First time poster, long time lurker (great site btw Chandoo). Intermediate at best Excel user, so i'm looking to those more proficient than i am from this excellent site.
Background : Still on Excel 2003 for now. Majority of my dynamic reports typically combine CHOOSE (linked to a Combo-Box (Forms)) + Named ranges + VLOOKUPs to give the end user selectable options for a dynamic chart/data.
I'm trying to create a new report which i thought may be easy in theory, but in practice i seem to be going around the houses. I'm trying to create a dashboard where the end user makes checkbox choices on 3 data fields (Division, Region, Location), i want them to be able to make multiple choices in each checkbox section. For arguments sake (the data i'm showing is fictional for business confidentiality) there are around 20 locations, 30 regions, 20 divisions.
Data looks similiar to below;
[pre]
Code:
Division Region Location Measure Vol
Sales Division NE London Sales Volume 14
Sales Division SE Birmingham Sales Volume 22
Upgrade Division NE Birmingham Sales Volume 7
Upgrade Division NE London Sales Volume 3
I've created the check boxes (via Forms) in the display sheet. These are linked to a control sheet behind with a simple IF formula to convert the TRUE's into 1. Then combining COUNTIF,ROWS, & INDEX & MATCH formulas i've got as far as having 3 dynamic ranges of the selections made in the 3 checkboxes
Division Selections //Region Selections// Location Selections
*Multiple choices below each column header*
The dynamic Division Selections have a named range called "Division", the dynamic region selections have a named range called "Region", and the dynamic location selection have a named range called "Location".
I'm now trying to sum the sales volumes based on the choices made. SUMPRODUCT seems to fit the bill.
On the sheet where the original data is located, I've tried the following formula to do this:
=SUMPRODUCT(--(A1:A1000=Division),--(B1:B1000=Region),--(C1:C1000=Location),--(D1:D1004="Sales Volume"))*E1:E1000
This is returning a #NA result.
From a results perspective (using the fictional data above). If the user selected:
Checkboxes Option 1 : Sales Division
Checkboxes Option 2 : NE & SE
Checkboxes Option 3 : London & Birmingham
I'd want the result to return 36.
Can anybody help? Am i on the right track even?!
Unfortunately due to internet restrictions i'm unable to upload a dummy workbook so i've tried to include all the relevant information. Hopefully not too long winded!
Thanks in advance