combined IF and Vlookups..

kins

Board Regular
Joined
Jul 26, 2010
Messages
157
Morning,
I would like to combine an ‘IF’ statement with a ‘Vlookup’ – could somebody please help?
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
For example –
Say I have an NI number on sheet 1 - J123456 and if this is on sheet 2 in column 1, I want it to bring back “yes”.
<o:p> </o:p>
I’ve got a felling that this is going to be simple but wouldn’t mind some help, please.
<o:p> </o:p>
Also, what does ‘ISERROR’ mean within a formula?
<o:p> </o:p>
Thanks in advance.
<o:p> </o:p>
Kins
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Try like this

=IF(ISNUMBER(MATCH(A1,Sheet2!A:A,0)),"Yes","No")

See the Help for ISERROR.
 
Upvote 0
thanks VoG. Much appreciated.

Could you please give me an example of how this might work using IF and Vlookups?
 
Upvote 0

Forum statistics

Threads
1,224,582
Messages
6,179,670
Members
452,936
Latest member
anamikabhargaw

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