IF OR Statements

Moxioron

Active Member
Joined
Mar 17, 2008
Messages
436
Office Version
  1. 2019
Hello all.

Here is the formula that I came up that is not giving me the desired result:

=IF(C7<51,IF(NOW()-C11>60,C7,IF(C7>51,IF(C13*0.25>C7,IF(NOW()-C11<365,C7)))))

What I am trying to do is reflect that if the value in C7 is less than 51 and if the date in column C11 is greater than 60 days from today's date, then reflect the value in C7 OR if the value in column C7 is greater than $51 and if the value in column C7 is less than 25% of the value of column C13 and the date in column C11 is greater than 365 days from today's date, then reflect the value in C7.

What I am getting now is that the only criteria being considered is that before OR above.

What is needed for my formula to take all of the criteria into consideration prior to providing a result?

Thanks for your help.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
and if the date in column C11 is greater than 60 days from today's date

Is that FUTURE or PAST ?
Is C11 more than 60 days in the FUTURE, or have more than 60 days already passed SINCE C11 ??

If dates are future
C11-NOW()
If Dates are Past
NOW-C11

Also, use try using TODAY() instead of NOW()

Hope this helps..
 
Upvote 0
C-11 is in the past. Regardless of which I use for the date, what am I missing to take all of my criteria into consideration?

Thanks for your help.
 
Upvote 0
How about like this?

=IF(OR(AND(C7<51,NOW()-C11>60),AND(C7>51,C13*0.25>C7,NOW()-C11<365)),C7))

HTH..
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,426
Members
448,961
Latest member
nzskater

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