# Formula

#### edazoel

##### New Member
Hello this is my first post and i am also new to formulas in excel.

I am looking to use a formula in 2 seperate cells that will look at 2 total figures in 2 seperate cells, and return the higher value to both of the cells. so if the 2 cells we are looking at read

£25500 and £22350

I would like the formula to return a value of £25500 in both cells.

I appreciate any help at all.

Many thanks

### Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Use the =MAX function to return the maximum value of a range of cells

Welcome to the board.

Try the MAX function

=MAX(A1,B1)

I cant believe how easy that was, thank you very much. It worked perfectly

Glad to help, thanks for the feedback.

Hi, sorry to be a pain, but i need to use another formula to work out the next part of my spreadsheet.

I need a formula that looks at 2 cells, and see which is the smaller cell, use that value and add it to another cell to get a total.

Many thanks

That would be the MIN function. (same syntax as the MAX)

same concept but use =MIN

=MIN(A1,B1)+C1

Many thanks so simple when you know how

Hi I would like to do something different with the formula,

I would like to use a formula in 2 seperate cells to look at other seperate 2 cells and decide which one is larger and leaving this one cell with a zero value and the value in the other cell which will be lower i want to get the formula to look at abother cell for a value to add to the lower value giving a total.

Many thanks in advance of my poor skills.

leo

Replies
0
Views
75
Replies
3
Views
100
Replies
8
Views
179
Replies
1
Views
77
Replies
7
Views
168

1,207,278
Messages
6,077,494
Members
446,286
Latest member
ropebender

### 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.

### Which adblocker are you using?

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

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