Multiple IFs in a formula - missing opening or closing parenthesis?

ianwuk

New Member
Joined
Nov 20, 2018
Messages
6
Hi Everyone.

I have this formula below:

=IF(B19<=$B4,ROUND(F18+D19+E19,2),IF(B19>$B4,0), IF(ISBLANK(B19),"")

It is supposed to do three conditional things in an Outstanding balance column.

1. If B19 (repayment number) is less than or equal to $B4 (number of months) THEN perform calculation.
2. IF B19 (repayment number) is greater than $B4 (number of months) THEN display zero.
3. IF B19 (repayment number) is blank (due to condition 2), make the cell blank.

Here is how my spreadsheet looks. I have highlighted what I want to be changed to 0, because it exceeds the number of payments:

[/IM
2zggkux.png

When I run the above formula it says:

The formula is missing an opening or closing paranthesis.

Can anyone kindly help me get this to work please?

I then plan to run conditional formatting to say that if a cell contains 0.00 or N/A respectively then the text is hidden - so basically you only see the calculations for the number of months put in cell B4.

I hope this makes sense.

Thanks.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Re: Help with multiple IFs in a formula - missing opening or closing parenthesis?

Like this?
=IF(B19="","",if(B19<=$B4,ROUND(F18+D19+E19,2),0)
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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