Largest of Two Values

J

JerryS

I want a formula that returns the largest of two values located in different
cells. For example, A1 = $15.00, B1 = formula 1, C1 = A1+5%. For D1, I want
it to return either B1 or C1 with the criteria being if B1 is greater than
A1, then the answer is B1. If not, then the answer is C1. Any suggestions?
Thanks
 
P

Pete_UK

Try this:

=MAX(B1,C1)

Returns whichever is the larger of the two.

Hope this helps.

Pete
 
R

Rick Rothstein \(MVP - VB\)

You added an extra reference (and had them set up for the minimum I think).
I believe you wanted to post this formula instead...

=IF(C1>A1,C1,A1)

Rick
 
R

Rick Rothstein \(MVP - VB\)

Okay, the only excuse for posting this formula is that it is late on a
Friday afternoon.<g>

=(A1+C1+ABS(A1-C1))/2

Rick
 
T

Tyro

You might want to read a book on basic Excel. You'll definitely find your
answer there.

Tyro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top