=if(or()) with another workbook

bloodybrit90

Board Regular
Joined
Jul 18, 2011
Messages
111
With the following formula I keep receiving #Value.

=IF(OR('[NEF.xls]NEFAR MASTER LIST'!$C$90:$C$96='Sheet2'!D2),'Sheet2'!E2,"")

I would like it to return the value from E2 if D2 value is equal to any of the numbers between C90 and C96, if not do nothing. Any ideas why this is not working?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
I think the prob is an IF statement doesn't loop through an array. Try this instead:

=IF(IFERROR(MATCH(Sheet2!D2,'[NEF.xls]NEFAR MASTER LIST'!$C$90:$C$96,0),"")>0,Sheet2!E2,"")

Good Luck!
 
Upvote 0
PPlstuff, With the formula you provided I receive an error message stating that "You've entered too many arguments for this function". Any ideas why?
 
Upvote 0
With the following formula I keep receiving #Value.

=IF(OR('[NEF.xls]NEFAR MASTER LIST'!$C$90:$C$96='Sheet2'!D2),'Sheet2'!E2,"")

I would like it to return the value from E2 if D2 value is equal to any of the numbers between C90 and C96, if not do nothing. Any ideas why this is not working?

PPlstuff, With the formula you provided I receive an error message stating that "You've entered too many arguments for this function". Any ideas why?
When entered as an array formula** the above formula works OK for me.

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0

Forum statistics

Threads
1,214,262
Messages
6,118,550
Members
448,835
Latest member
Profast123

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