Urgent Help required IF/ISERROR/MATCH

aaromic2000

New Member
Joined
Jul 28, 2009
Messages
32
I'm trying to compare four cells from sheet 1 with four columns in sheet 2. Based on which I'm trying to find the missing numbers. Why this formula is not working? Any suggestions please.

=IF(ISERROR(MATCH(B2&E2&K2&M2,Sheet2!B:B&Sheet2!C:C&Sheet2!G:G&Sheet2!D:D,0)),"Missing","Found")

Thanks
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi,

As it stands, that formula will need to be entered as an array formula**, though I would strongly recommend that you do not use entire columns for the range references in that case, e.g.:

=IF(ISERROR(MATCH(B2&E2&K2&M2,Sheet2!B1:B1000&Sheet2!C1:C1000&Sheet2!G1:G1000&Sheet2!D1:D1000,0)),"Missing","Found")

An alternative, non-array version, is:

=IF(ISERROR(MATCH(B2&E2&K2&M2,INDEX(Sheet2!B1:B1000&Sheet2!C1:C1000&Sheet2!G1:G1000&Sheet2!D1:D1000,,),0)),"Missing","Found")

Regards


**Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).</SPAN></SPAN>
 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,795
Members
449,468
Latest member
AGreen17

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