Help making this an OR statement

easybpw

Active Member
Joined
Sep 30, 2003
Messages
439
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Hello,

Thanks in advance for your help.

I realize the formula below may have other issues that could be corrected and I appreciate any tips or suggestions given. But my main problem is I want this to be an OR statement and not sum the two together. I'll try and show it below.

=IF(AND(VLOOKUP($A17,'Team Def'!$A$4:$B$35,2,FALSE)>0,VLOOKUP($A17,'Team Def'!$A$4:$B$35,2,FALSE)<11),IF(AND($E18>3,$E18<4),1,0),2)+IF(AND(VLOOKUP($A17,'Team Def'!$A$4:$B$35,2,FALSE)>0,VLOOKUP($A17,'Team Def'!$A$4:$B$35,2,FALSE)<11),IF(AND($E18>2,$E18<3),1,0),1)

I've tried the things I know to do but am not having any luck.

Thanks again!

Bill
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Try

=IF(AND(VLOOKUP($A17,'Team Def'!$A$4:$B$35,2,FALSE)>0,VLOOKUP($A17,'Team Def'!$A$4:$B$35,2,FALSE)<11),IF(OR(AND($E18>3,$E18<4),AND($E18>2,$E18<3)),1,0),3)
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

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