If/OR Formula Help

ghp2017

New Member
Joined
Dec 12, 2017
Messages
49
Hello,
I need help with a formula. Somehow I have to add something like '=IF(I5<>"",1,0)' to the formula below.
=IF(OR(E5=0,F5=0,F5<E5),FALSE,AND(F5>=E5)*IF(OR(F5<=E5+3),1,0))

I just can't seem to get it to work.

Thanks,
George
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
I don't think you need the AND and the 2nd OR.
Code:
=IF(OR(E5=0,F5=0,F5<E5),FALSE,(F5>=E5)*IF(F5<=E5+3,1,0))

Where do you want the additional IF condition?
 
Upvote 0
I don't think you need the AND and the 2nd OR.
Code:
=IF(OR(E5=0,F5=0,F5<E5),FALSE,(F5>=E5)*IF(F5<=E5+3,1,0))

Where do you want the additional IF condition?
It doesn't matter as long as it works. But logically it should come after the E/F check. LOL!!
 
Upvote 0
Could you mean:

Code:
=IF(OR(E5=0,F5=0,F5<E5),FALSE,AND(IF(I5<>"",1,0),F5>=E5)*IF(F5<=E5+3,1,0))
 
Upvote 0
It would help if you could post some example data (using the XL2BB add-in), along with expected outcome.
An explanation of how you got to the outcome would also help.
 
Upvote 0
It would help if you could post some example data (using the XL2BB add-in), along with expected outcome.
An explanation of how you got to the outcome would also help.

Column E = Opportunity Create Date
Column F = Opportunity Sold Date
Column I = Days Since Last Activity (aka they entered a logged call)

I am trying to create a formula that would give me:
  • "FALSE" if Column I, Column E & Column F are all blank
  • "1" if Column I is not blank OR Column F is within 3 days of Column E
  • "0" if Column I is blank AND Column F is NOT within 3 days of Column E
  • "0" if Column I is blank AND Column F is earlier than Column E
 
Upvote 0
Ok, maybe
Excel Formula:
=IF(AND(E5="",I5="",F5=""),FALSE,IF(OR(I5<>"",AND(F5>=E5,F5<=E5+3)),1,0))
 
Upvote 0
Solution
In what way didn't it work?
 
Upvote 0

Forum statistics

Threads
1,215,372
Messages
6,124,535
Members
449,169
Latest member
mm424

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