Nested IF formula Nightmare

Rana Gray

Board Regular
Joined
Jan 26, 2023
Messages
56
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hey Everyone,

I have gotten most of my formula to work but I need to add one more condition and I can't seem to figure it out. Here is what I have so far (that I've tested and works): =IF(E16="*Mortgage*",5.25%,IF(F38>5.25%,SUM(F38+2%),5.25%))*OR(IF(E16="*Mortgage*",5.25%,IF(F38>5.25%,SUM(F38+2%),5.25%)))

What I need to add is: If E16="<>*Mortgage*" and/or "<>*Homeowner*" Then use value in cell F38 as is.

As always thank you in advance <3
 
T202303a.xlsm
DEF
168.00%a Homeowner xyz
17
4d
Cell Formulas
RangeFormula
D16D16=IF(OR(IFERROR(SEARCH("Mortgage",E16),0),IFERROR(SEARCH("Homeowner",E16),0)),IF(F38>0.0525,F38+0.02,0.0525),"Customer rate")
YOU ARE MY HERO! You're formula is so eloquent - Thank you so so much!!!
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
The formula could be much cleaner if you use a column on your form for the "code"; I used column D.

T202303a.xlsm
DE
15CodeProduct Name
16Mortgagea Mortgage xyz
17
188.00%
198.00%
4d
Cell Formulas
RangeFormula
D18D18=IF(OR(IFERROR(SEARCH("Mortgage",E16),0),IFERROR(SEARCH("Homeowner",E16),0)),IF(F38>0.0525,F38+0.02,0.0525),"Customer rate")
D19D19=IF(OR(D16={"Mortgage","Homeowner"}),IF(F38>0.0525,F38+0.02,0.0525),"Customer rate")
 
Upvote 0
The formula could be much cleaner if you use a column on your form for the "code"; I used column D.

T202303a.xlsm
DE
15CodeProduct Name
16Mortgagea Mortgage xyz
17
188.00%
198.00%
4d
Cell Formulas
RangeFormula
D18D18=IF(OR(IFERROR(SEARCH("Mortgage",E16),0),IFERROR(SEARCH("Homeowner",E16),0)),IF(F38>0.0525,F38+0.02,0.0525),"Customer rate")
D19D19=IF(OR(D16={"Mortgage","Homeowner"}),IF(F38>0.0525,F38+0.02,0.0525),"Customer rate")
Thank you I’ll try that :)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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