Using IF & OR

Scott82

New Member
Joined
Jun 8, 2011
Messages
48
Hi guys, can you take a look at the formula below and see whats wrong with it please?
=IF(OR('[Giles House Term 6 2010-2011.xls]Sheet1'!B3:B13)="Julie","Giles","")

Many thanks!
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Maybe

=IF(OR('[Giles House Term 6 2010-2011.xls]Sheet1'!B3:B13)={"Julie","Giles"}),"")

It's much easier to see what's wrong if you tell us what you're trying to do.
 
Upvote 0
Hi,

You can't use OR like that.

Could you elaborate further in terms of what you're trying to achieve? A small sample of data would also help.

Matty
 
Upvote 0
=IF('[Giles House Term 6 2010-2011.xls]Sheet1'!B3:B13="Julie","Giles","")

=IF(MATCH("Julie",Sheet1!B3:B13,0),"Giles","")

this is better

=IF(ISNA(MATCH("Julie",Sheet1!B3:B13,0)),"","Giles")
 
Upvote 0
You Star!!!!
=IF(ISNA(MATCH("Julie",Sheet1!B3:B13,0)),"","Giles")

Is exactly it!
How about if i also want to check say Sheet2 B3:B13???? But to return Millington??
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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