Search data dependant on 2 cells

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am looking for a formula to search a list of data for 2 different cells and return any match

C3= Reference alpha numeric number
I3= Article reference number

BL has a list of article reference numbers
BS has a list of alpha numeric numbers

If C3=BS and I3=BL then return what is shown in BU on that row

if nothing found then return ""

Many thanks for any help
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Return BU on which row, are I3 and C3 going to find matches on the same row of the 2 columns, or do you mean return BU3?
 
Upvote 0
[TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl63, width: 64"]=if(and(match(C3,$BS:$BS,0),match(I3,$BL:$BL,0)),BU3,"")[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Hi Dryver14,

Is there a way to modify this formula to only extract the last entry made for if the criteria are met?

Thanks
 
Upvote 0
Cross posted https://www.excelforum.com/excel-general/1224787-last-entry-based-on-2-cells.html

Cross-Posting
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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