Excel Queries to create a matrix?

MrStrawb

New Member
Joined
May 2, 2019
Messages
6
Good Afternoon All,

I'm trying to put together a spreadsheet matrix with a "item name" on the Y axis and "Gift Name" on the X axis. Each gift comprises a number of items within one gift.

Both axis information is held within 2 separate worksheets within a source file workbook.

I have used the query tool to bring the data into the matrix spreadsheet which works well for the Y axis however I'm having trouble with the X axis, I can transverse the data but its not working the way i had hoped.

Both data tables will change over time so i was hoping that the query would allow it to grow and expand as necessary.

The basic formula i will use to populate the matrix will be something like:

VLOOKUP(ItemName,SourceWorkbook'GiftName!,2,False) (Column 2 represents number of units within gift)

I'm hoping to be able to write a generic formula which looks at the specific Gift Name and searches within a worksheet of the same name. (The worksheets are currently in a pricing file - which is the start point of any new gift)

Before I spend too long looking into something that may not be possible it would be great to hear the approaches more experienced excel users would take to achieve this.

Any help will be gratefully appreciated.

Kind Regards

Adam
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,223,099
Messages
6,170,114
Members
452,302
Latest member
TaMere

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