Easy Fix needed on Formula

desibouy

Board Regular
Joined
Nov 20, 2014
Messages
98
Office Version
  1. 365
Platform
  1. Windows
Hi,
I'm missing a bracket somewhere but God spent like 30mins behind it. I've tried everything in Notepad and Notepad++ tried changing the language to SQL and other formats to properly read it and find where I'm missing the bracket. I've tried adding but it still doesn't work.

Formula

Code:
=IF(AND(F4="CA",ISNUMBER(SEARCH("incontinence",U4))),ROUNDUP(FE4/0.66+6.95,0)-0.01,
IF(AND(F4="PK",ISNUMBER(SEARCH("incontinence",U4))),ROUNDUP(FE4/0.66+3,0)-0.01,
IF(AND(F4="BG",ISNUMBER(SEARCH("incontinence",U4))),ROUNDUP(FE4/0.66+3,0)-0.01,
ROUNDUP(FE4/0.66,0)-0.01))),IF(ISNUMBER(SEARCH("NOVA",U4))),ROUNDUP(FE4/0.66+15,0)-0.01,IF(FH4=13,ROUNDUP(FE4/0.66+13,0)-0.01,IF(AND(FH4=6.95,(FE4/0.66)<50),
ROUNDUP(FE4/0.66+3,0)-0.01,ROUNDUP(FE4/0.66+6.95,0)-0.01)))

Can someone help me please? I might need to add more at the bottom so if you can future proof it or show me how.
I'll need to add this statement again sometime in the future --
IF(ISNUMBER(SEARCH("NOVA",U4))),ROUNDUP(FE4/0.66+15,0)-0.01


Thank you
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
There would seem to be an IF statement missing before the fourth ROUNDUP statement.
 
Upvote 0
There would seem to be an IF statement missing before the fourth ROUNDUP statement.

I don't see anything wrong. If I use the code without the rest then it works.

=IF(ISNUMBER(SEARCH("NOVA",U4))),ROUNDUP(FE4/0.66+15,0)-0.01,IF(FH4=13,ROUNDUP(FE4/0.66+13,0)-0.01,IF(AND(FH4=6.95,(FE4/0.66)<50),
ROUNDUP(FE4/0.66+3,0)-0.01,ROUNDUP(FE4/0.66+6.95,0)-0.01)))
 
Upvote 0
Hi,

Try this:

=IF(ISNUMBER(SEARCH("incontinence",U4)),IF(F4="CA",ROUNDUP(FE4/0.66+6.95,0)-0.01,IF(OR(F4="PK",F4="BG"),ROUNDUP(FE4/0.66+3,0)-0.01,ROUNDUP(FE4/0.66,0)-0.01)),IF(ISNUMBER(SEARCH("NOVA",U4)),ROUNDUP(FE4/0.66+15,0)-0.01,IF(FH4=13,ROUNDUP(FE4/0.66+13,0)-0.01,IF(AND(FH4=6.95,(FE4/0.66)<50),ROUNDUP(FE4/0.66+3,0)-0.01,ROUNDUP(FE4/0.66+6.95,0)-0.01))))
 
Upvote 0

Similar threads

Forum statistics

Threads
1,223,903
Messages
6,175,279
Members
452,630
Latest member
OdubiYouth

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