MAX function based on value other cell

marcusz

New Member
Joined
Jul 4, 2019
Messages
18
Hi,

I am struggling for a while to get this working.
I have 2 cells that I SUM, but the value cant be greater then cell A3.
So I try>
=MAX(A3,(SUM(E3:D3)))
but I cannot get it to work.
Am I making some stupid syntax error ?

Thanks in advance
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
You need MIN not MAX (you would only use MAX for this if your values were negative).
 
Upvote 0
What do you mean "doesn't work"? Does it return the wrong value or something else?
Could you give us an example of the data in the cells, the result that formula returns and what you want it to return?
 
Upvote 0
Too many commas and parentheses

=MIN(A3,SUM(D3:E3))
 
Upvote 0
even when I use that the 2 ( ) around D3:E3
are in red
using excel 2016

screenshot attached of error when trying to enter formula

thanks in advance for your help
 

Attachments

  • excel_max_issue.png
    excel_max_issue.png
    35.4 KB · Views: 4
Upvote 0
You have Euro regional settings so you need to change the commas to semicolons.

=MIN(A3;SUM(D3:E3))

You may also need to translate MIN and SUM into your own language (Dutch?).
 
Upvote 0
Hi Jason, I am Dutch ,but my machine settings etc are English International
So this does works for me :

=MIN(A3;SUM(D3;E3))

thanks a lot for your support, much appreciated !
 
Upvote 0

Forum statistics

Threads
1,214,784
Messages
6,121,538
Members
449,038
Latest member
Guest1337

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