Multiple axis lookup to fill table

Lunatik

New Member
Joined
Aug 11, 2016
Messages
34
Hi Guys and Gals
I am improving my database project by adding a multiple axis lookup to create some analyticals. I am trying to fill a table in worksheet4 from the results of the look up from worksheet3


Database example:
Excel 2010
ABCDE
1DateProductData 1Data2Data3
21-DecL/S541
32-DecL/S474
43-DecC/S693
54-DecL/S406
65-DecC/S527

<tbody>
</tbody>
Sheet3
On worksheet4 I will have three Dropdown menus with the following information.
Dropdown1: Date in Month (December)
Dropdown2: Product (L/S, C/S)
Dropdown3: Data (Data1, Data2, Data3)

If I select (December, L/S, Data1) the results will populate in another table like this:
Excel 2010
ABC
121-DecL/S5
132-DecL/S4
144-DecL/S4

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet3
Because I have to show some analytical from the search results I will like for this result to show starting in "A10" or so row.

Thanks in advance
Regards
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
You could solve this using a Pivot Table. You would have to rearange your data to include a DataType column and add a Month column to be able to use a Report Filter by Month on your Pivot Table.

This is how your data table would look:

Worksheet Formulas
CellFormula
E3=MONTH([@Date])

<tbody>
</tbody>

<tbody>
</tbody>

Date
Product
DataType
Data
Month
01-dic​
L/S​
1​
5​
12​
02-dic​
L/S​
1​
4​
12​
03-dic​
C/S​
1​
6​
12​
04-dic​
L/S​
1​
4​
12​
05-dic​
C/S​
1​
5​
12​
01-dic​
L/S​
2​
4​
12​
02-dic​
L/S​
2​
7​
12​
03-dic​
C/S​
2​
9​
12​
04-dic​
L/S​
2​
0​
12​
05-dic​
C/S​
2​
2​
12​
01-dic​
L/S​
3​
1​
12​
02-dic​
L/S​
3​
4​
12​
03-dic​
C/S​
3​
3​
12​
04-dic​
L/S​
3​
6​
12​
05-dic​
C/S​
3​
7​
12​

<tbody>
</tbody>

And you would have to arrange your Pivot as follows:

  • Filters: DataType, Month
  • Rows: Date, Product
  • Values: Data (You can use SUM, MAX, MIN, or AVERAGE to better suit your needs)

DataType1
Month12
DateProductData
01-dic
L/S
5​
02-dic
L/S
4​
03-dic
C/S
6​
04-dic
L/S
4​
05-dic
C/S
5​
Total
24

<tbody>
</tbody>


This way you will have dropdowns for Month, Product and DataType.

Hope it helps.

 
Upvote 0
Sorry for my late feedback, this works... I will try to build a translator to re-arrange the table for this Pivot to work. Because the data entry happens by another person, but the data analysis is performed by me, I can control the way the I arrange the data before running the Pivot.
Appreciate the help.
 
Upvote 0
Sweet, this is a great write up. I always was curious about this procedure of Un-Pivoting Data.
THanks for the help
Sincerely
 
Upvote 0

Forum statistics

Threads
1,214,927
Messages
6,122,309
Members
449,080
Latest member
jmsotelo

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