Inserting an IF or OR Logic in current formula

searchingforhelp

Board Regular
Joined
Nov 11, 2020
Messages
67
Office Version
  1. 365
Platform
  1. Windows
Hi,

Wondering if I can receive help regarding the formula below.

My goal is to expand this formula: =IF(B3>=0,"Within Policy",IF(B3<0,"Out of Policy")) to recognize “not applicable” in the results field.

For example:

With or out of Policy.xlsx
AB
1Within Policy/ Out of PolicyResults
2Within Policy3
3Out of Policy-3
4not applicablenot applicable
5Within Policy2
Test environment
Cell Formulas
RangeFormula
A2:A3,A5A2=IF(B2>=0,"Within Policy",IF(B2<0,"Out of Policy"))
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Maybe
Excel Formula:
=IF(ISTEXT(B2),B2,IF(B2>=0,"Within Policy",IF(B2<0,"Out of Policy")))
 
Upvote 0
Excellent, it works! Thanks!

I should of added this to the original post. This is a separate formula from the one given. Non- related. Can you also suggest how I can add not applicable to the below =SUM formula?

Thanks!

With or out of Policy.xlsx
AB
1NumbersResults
25-1
331
4not appliable#VALUE!
513
Sheet1
Cell Formulas
RangeFormula
B2:B5B2=SUM(A2-4)*-1
 
Upvote 0
Hi,

Try this:

Book3.xlsx
AB
1NumbersResults
25-1
331
4not appliablenot appliable
513
Sheet851
Cell Formulas
RangeFormula
B2:B5B2=IF(ISNUMBER(A2),-(A2-4),A2)
 
Upvote 0
I think you can only check 1...
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,893
Members
449,097
Latest member
dbomb1414

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