ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If Function (https://www.excelbanter.com/excel-worksheet-functions/250091-if-function.html)

Hammer[_2_]

If Function
 
I want a cell to show the highest value based on the criteria below, Could
somebody provide me with a simple formula to show this, I presume I would
have to use the If Function.

For example

If cell F11 = £200 & Cell N11 = £146 I would like cell O11 to return the
highest value (£200)

David Biddulph[_2_]

If Function
 
You could use the IF function, such as =IF(F11N11,F11,N11), but the better
bet would be the MAX function.
=MAX(F11,N11)
--
David Biddulph

"Hammer" wrote in message
...
I want a cell to show the highest value based on the criteria below, Could
somebody provide me with a simple formula to show this, I presume I would
have to use the If Function.

For example

If cell F11 = £200 & Cell N11 = £146 I would like cell O11 to return the
highest value (£200)




JLatham

If Function
 
Use the MAX() function, as:
=MAX(F11,N11)


"Hammer" wrote:

I want a cell to show the highest value based on the criteria below, Could
somebody provide me with a simple formula to show this, I presume I would
have to use the If Function.

For example

If cell F11 = £200 & Cell N11 = £146 I would like cell O11 to return the
highest value (£200)



All times are GMT +1. The time now is 01:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com