Lookup value on an array range and return value from another column when value is found

vladi305

Board Regular
Joined
Jan 12, 2023
Messages
88
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I'm trying to make a formula that works to solve this like the index match but the match works only with one column to search the value so I'm getting errors

I want to for example lookup for value #3 on range from B1:F300
when that value is found return the reference value from column 1 which is the date or the first column on the table
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
I'm posting a screenshot of the table
 

Attachments

  • Screenshot_20230209-174921_Excel.jpg
    Screenshot_20230209-174921_Excel.jpg
    238 KB · Views: 25
Upvote 0
What value are you trying to lookup & what should happen if the value is found in multiple rows?
 
Upvote 0
What value are you trying to lookup & what should happen if the value is found in multiple rows?
On column 1 you have dates
On columns B to F you have numbers
I want to find the first value from the range from B to F and when that value is found return the date . Only 1 value to lookup and only one value to return which is the first value found
 
Last edited by a moderator:
Upvote 0
You have not answered my questions, What value are you trying to lookup?
 
Upvote 0
Do you just want to look for the number, or do you want to put the lookup value in a cell (for instance G1) & use that?
 
Upvote 0
Do you just want to look for the number, or do you want to put the lookup value in a cell (for instance G1) & use that?
Yes the lookup value will come from a cell from another tab. It won't be hardcoded
 
Upvote 0
Ok, how about
Excel Formula:
=INDEX(A:A,AGGREGATE(15,6,ROW(A1:A100)/(B1:F100=G1),1))
where G1 has the value you want to lookup.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,851
Messages
6,121,931
Members
449,056
Latest member
denissimo

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