Conditional format formula missing opening/closing parenthesis error

valmir

Board Regular
Joined
Feb 10, 2021
Messages
235
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,
As the title says, this formula is missing a parenthesis. I have no clue where. Please help! I'm surprised I got this far with this formula by myself :biggrin: .
=IF(AND(SUM(K4:L4)=SUM(K5:L5);L4>K5);TRUE;IF(SUM(K4:L4)>SUM(K5:L5);TRUE;IF(OR(K4<>"Đ";L4<>"Đ");TRUE;FALSE))
Originally I had the formula like this:
=IF(AND(SUM(K4:L4)=SUM(K5:L5);L4>K5);TRUE;IF(SUM(K4:L4)>SUM(K5:L5);TRUE;FALSE))
And now I'm trying to add that third condition
Thanks
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
The last one is missing:
Excel Formula:
=IF(AND(SUM(K4:L4)=SUM(K5:L5);L4>K5);TRUE;IF(SUM(K4:L4)>SUM(K5:L5);TRUE;IF(OR(K4<>"Đ";L4<>"Đ");TRUE;FALSE)))


But I'm going to try it to see if it can be simplified.
 
Upvote 0
The last one is missing:
Excel Formula:
=IF(AND(SUM(K4:L4)=SUM(K5:L5);L4>K5);TRUE;IF(SUM(K4:L4)>SUM(K5:L5);TRUE;IF(OR(K4<>"Đ";L4<>"Đ");TRUE;FALSE)))


But I'm going to try it to see if it can be simplified.
ok
 
Upvote 0
How about:
Excel Formula:
=IF(AND(SUM(K4:L4)=SUM(K5:L5);L4>K5);TRUE;IF(SUM(K4:L4)>SUM(K5:L5);TRUE;IF(OR(K4<>"Đ";L4<>"Đ");TRUE;FALSE)))

Edit: Dang my connection must be slow today.
 
Upvote 0
Conditional format formula
As the title says


If the formula is for conditional formatting, then IFs are not needed, it can be like this:
Excel Formula:
=OR(AND(SUM(K4:L4)=SUM(K5:L5);L4>K5);SUM(K4:L4)>SUM(K5:L5);OR(K4<>"Đ";L4<>"Đ"))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,073
Messages
6,122,970
Members
449,095
Latest member
Mr Hughes

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