Using XLookup or any ideal function, need to return value from range based on two criteria

YansaneYansane

New Member
Joined
Nov 1, 2024
Messages
34
Office Version
  1. 2019
Platform
  1. Windows
  2. Web
Hello Team,

Need help ....Using XLookup or any ideal function to return matching values over a range, based on a number of criteria ....

In the "Permis de Travail" tab, return value in the yellow area based on cell C2.
Source data => "TABLEAU DE BORD" tab, Columns A thru F.

In the "Long Sejour" tab, return value in the yellow area based on cell C2.
Source data => "TABLEAU DE BORD" tab, Columns A thru F.

Thank You
 

Attachments

  • Tab 1.jpg
    Tab 1.jpg
    110.5 KB · Views: 18
  • Tab 2.jpg
    Tab 2.jpg
    229.8 KB · Views: 26
  • Tab 3.jpg
    Tab 3.jpg
    152.5 KB · Views: 25

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Try:
Excel Formula:
=FILTER('Tableau De Bord'!A5:F15,'Tableau De Bord'!C5:C15=C2)
 
Upvote 0
Try:
Excel Formula:
=FILTER('Tableau De Bord'!A5:F15,'Tableau De Bord'!C5:C15=C2)

I keep getting the attached "Error Message"
Thanks for the help.

Since I'm using the French version of Excel, I've translated the formula to this => =FILTRE('Tableau De Bord'!A5:F1000; 'Tableau De Bord'!C5:C1000 = C2)
 

Attachments

  • Tab 4.jpg
    Tab 4.jpg
    107 KB · Views: 17
Upvote 0
I'm not familiar with French settings. See this page if that helps.
 
Upvote 0
Are you sure you are really using Excel 365, that has the new FILTER (FILTRE) function?
 
Upvote 0
Below is the Version of Excel I'm using...
That explains it! You have incorrect information in your profile!

In your profile, you seem to show you are using Excel 365:
1731591239640.png


But, in the screen print you just posted, it says you are using Excel 2019:
1731591262080.png


The Filter function is NOT available in Excel 2019. That is why you are seeing that error!

Please update your profile to reflect that you are using Excel 2019 and not Excel 365.
This is what we look at to determine which functions and solutions will work for you!
 
Upvote 0
Hi,

Thanks much. I've updated the Windows version so it shows on my Profile..
It seems to disappear from the Excel App when I'm disconnected and does not reset. I will keep an eye on it.

So, is there another function I could use...?
 
Upvote 0
Hmmm, it does not look like you updated it.
Click on this link here: Account details and make the change.
Don’t forget to scroll down & ‘Save’!
 
Upvote 0

Forum statistics

Threads
1,226,452
Messages
6,191,132
Members
453,641
Latest member
enfkkviesm

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