XLOOKUP

whynot

Board Regular
Joined
Jun 27, 2009
Messages
115
Office Version
  1. 365
Platform
  1. Windows
I am trying to use XLOOKUP for the following.

Is it possible and if so what would be the formula.

Please see following screenshots.

this is my output table

1599846476988.png


I need for output to be decided by looking up three different factors.

Year and Week, which are in columns & Region, which is in rows

1599846234387.png


The data is in the following format

1599846320007.png


I need my table to populated with data from column I. For example, in the column labeled NE and Week 1 i would like the output table to indicate -35.01

I hope this makes sense.

Thank you in advance for your help.
 

Attachments

  • 1599846160136.png
    1599846160136.png
    2.7 KB · Views: 1

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
How about
Excel Formula:
=XLOOKUP($A3&"|"&$B3&"|"&C$2,Sheet1!$A$2:$A$100&"|"&Sheet1!$B$2:$B$100&"|"&Sheet1!$C$2:$C$100,Sheet1!$N$2:$N$100,"",0)
 
Upvote 0
excel indicates i have entered too many arguments
 
Upvote 0
=xlookup(a3,b3,c2,sheet1!a2:a100,sheet1!b2:b100,sheet1!c2:c100,sheet1!d1:d100,"",0)
 
Upvote 0
You cannot do it like that, you have to concatenate the values & columns. Try it like I showed.
 
Upvote 0
That worked.

Thank you very much!!!

You saved me a ton of time!!!

Hope you have a great weekend!!!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,293
Members
449,077
Latest member
Rkmenon

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