Assistance With Formula Needed

meppwc

Well-known Member
Joined
May 16, 2003
Messages
623
Office Version
  1. 365
Platform
  1. Windows
Would someone please assist me with a formula that performs the following:

Formula will reside in cell B2 of worksheet “ORACLE_Y”
Lookup value in cell A2 of “ORACLE_Y” worksheet, search for that value in column B of “ASSET LIST” worksheet.
If value is found, map back the value found in column A of the “ASSET LIST” worksheet.
If value is found but the cell in “ASSET LIST” is blank, say “PRESENT IN AL BUT STATUS UNKNOWN”
If the value searched on is NOT found, then say “MSN NOT FOUND IN AL”.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
=IFERROR( IF(INDEX('ASSET LIST'!$A$2:$A$22,MATCH(ORACLE_Y!A2,'ASSET LIST'!$B$2:$B$16,0))=0,"PRESENT IN AL BUT STATUS UNKNOWN", INDEX('ASSET LIST'!$A$2:$A$22,MATCH(ORACLE_Y!A2,'ASSET LIST'!$B$2:$B$16,0)) ), "MSN NOT FOUND IN AL")

Cell Formulas
RangeFormula
B2:B5B2=IFERROR( IF(INDEX('ASSET LIST'!$A$2:$A$22,MATCH(ORACLE_Y!A2,'ASSET LIST'!$B$2:$B$16,0))=0,"PRESENT IN AL BUT STATUS UNKNOWN", INDEX('ASSET LIST'!$A$2:$A$22,MATCH(ORACLE_Y!A2,'ASSET LIST'!$B$2:$B$16,0)) ), "MSN NOT FOUND IN AL")


Book10
AB
1
2
3
41
5
6fred2
ASSET LIST
 
Upvote 1
Solution
I apologize, I am very confused. Is there not just one formula that I can insert into that cell that will accomplish what I need, without the need to an additional table (if I understand correctly)? If I place the following formula in the call, I get a result that is not true
=IFERROR( IF(INDEX('ASSET LIST'!$A$2:$A$22,MATCH(ORACLE_Y!A2,'ASSET LIST'!$B$2:$B$16,0))=0,"PRESENT IN AL BUT STATUS UNKNOWN", INDEX('ASSET LIST'!$A$2:$A$22,MATCH(ORACLE_Y!A2,'ASSET LIST'!$B$2:$B$16,0)) ), "MSN NOT FOUND IN AL")
 
Upvote 0
dont understand
Is there not just one formula that I can insert into that cell that will accomplish what I need, without the need to an additional table
what table

i just made an example ?
Asset list as your example , based on the text you mentioned

Lookup value in cell A2 of “ORACLE_Y” worksheet, search for that value in column B of “ASSET LIST” worksheet.
If value is found, map back the value found in column A of the “ASSET LIST” worksheet.
If value is found but the cell in “ASSET LIST” is blank, say “PRESENT IN AL BUT STATUS UNKNOWN”
If the value searched on is NOT found, then say “MSN NOT FOUND IN AL”.

Like Quote Reply
SO the range may need changing - rows etc

=IFERROR( IF(INDEX('ASSET LIST'!$A$2:$A$10000,MATCH(ORACLE_Y!A2,'ASSET LIST'!$B$2:$B$10000,0))=0,"PRESENT IN AL BUT STATUS UNKNOWN", INDEX('ASSET LIST'!$A$2:$A$10000,MATCH(ORACLE_Y!A2,'ASSET LIST'!$B$2:$B$10000,0)) ), "MSN NOT FOUND IN AL")
 
Last edited:
Upvote 0
Gotcha.............I got it to work. I appreciate your assistance very much
 
Upvote 0

Forum statistics

Threads
1,221,510
Messages
6,160,226
Members
451,632
Latest member
purpleflower26

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