If And Or Formula

fedas18

Board Regular
Joined
Jan 21, 2010
Messages
81
Hi!

I am trying to build a if/and/or formula that i am having some trouble with.

Currently i have the below formula that works

=IF(CAPI?="no",FLOOR(((Annual_Constraint-H19)/(1+G18)),5000),IF(OR(CAPI?="yes",CAPI_YRs=1,CAPI_YRs=2,CAPI_YRs=3),0,FLOOR(((Annual_Constraint-H19)/(1+G18)),5000)))

CAPI?, Annual Constraint, CAPI_YRs are all named cells

I am trying to add another portion to the formula.

I've added named cells Prin_Delay? and Prin_Delay_Yrs and would like to incorporate that into my formula.

What will happen is, the cell will look at both Prin_Delay? and CAPI? and depending on what those are it will do something else.

ANyone have any advice or be willing to help me with this?

THANKS!
 

Some videos you may like

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

GlennUK

Well-known Member
Joined
Jul 8, 2002
Messages
11,506
the cell will look at both Prin_Delay? and CAPI? and depending on what those are it will do something else
... you have to explain what you will be testing for, what the "something else" is, and whether your new testing takes precedence over the other processing that you already have, or not.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,207
Messages
5,594,840
Members
413,944
Latest member
3xc3ln00b

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
Top