Filter Formula

ronie85

Board Regular
Joined
Jan 25, 2014
Messages
96
Office Version
  1. 365
Platform
  1. Windows
Hi, I requrie a formula in sheet 2 cell AW2 through to AW99 to search using the data shown in Sheet 2 Cell A2 (to A99 as it will repeat on each row)

This will then search for the same data in Sheet 1 Cell C2 to C99, and return the first occurance of the value shown within Column N that matches the same row (N1 to N99).

I would assume this is a =filter formula but hoping there is something simple as one I had tried started thread calculations and froze the workbook.

Thanks in advance
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
How about
Excel Formula:
=XLOOKUP(A2,Sheet1!C2:C99,Sheet1!N2:N99,"No match")
 
Upvote 0
Is this what you need?:

Sheet 1

SimpleLookup.xlsx
CDEFGHIJKLMN
1
2AAAA
3BBBB
4CCCC
5DDDD
6EEEE
7FFFF
8GGGG
9HHHH
10IIII
11JJJJ
12KKKK
13LLLL
14MMMM
15NNNN
16OOOO
17PPPP
18QQQQ
19RRRR
20SSSS
21TTTT
22UUUU
23VVVV
24WWWW
25XXXX
26YYYY
Sheet 1


And in Sheed 2

SimpleLookup.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAW
1
2JJJJ
3EEEE
4LLLL
5NNNN
6LLLL
7XXXX
8RRRR
9CCCC
10SSSS
11Z#N/D
12QQQQ
13NNNN
14GGGG
15AAAA
16XXXX
17FFFF
18DDDD
19XXXX
20LLLL
21BBBB
22FFFF
23NNNN
24KKKK
25KKKK
26SSSS
27XXXX
28DDDD
29OOOO
Sheet 2
Cell Formulas
RangeFormula
AW2:AW29AW2=INDEX('Sheet 1'!$N$2:$N$99, MATCH(A2,'Sheet 1'!$C$2:$C$99,0))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,883
Messages
6,175,167
Members
452,615
Latest member
bogeys2birdies

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