Xlookup

fayo2009

New Member
Joined
Apr 10, 2017
Messages
30
Office Version
  1. 365
Platform
  1. Windows
Hello

Is it possible to use Xlookup to return the month the selected data falls under. Many thanks

e.g Dat 4= Feb


Jan
FebMarch
data 1Data 3Data 5
Data 2Data 4Data 6
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
How about
Fluff.xlsm
ABCDEF
1JanFebMarch
2data 1Data 3Data 5Data 4Feb
3Data 2Data 4Data 6
4
Sheet6
Cell Formulas
RangeFormula
F2F2=INDEX(1:1,AGGREGATE(14,6,COLUMN(A1:B1)/(A2:C10=E2),1))
 
Upvote 0
Solution
Many thanks, looks quite complex, Is there a simpler formula?
 
Last edited by a moderator:
Upvote 0
In future please do not put your reply inside a quote, as it looks as though you are just quoting somebody else.

Is there a simpler formula?
Not that I can think of.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
You can try:
Excel Formula:
=TOCOL(IFS(A2:C3=E2,A1:C1),2)
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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