MAX function

Simple question: I am using MAX(Cell1,Cell2). Each of Cells 1 and 2 are derived from elsewhere (by using =Cell 3, and so on).
But I get the wrong answer. Cell 1 is actually greater than Cell 2, but the =MAX function gives Cell 2 as the greater. Why?
BlosMusicAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Please check the formula of the cells where these cells are derived from i.e. cell3. That may look like a number but should be formatted as text. to check that in any cell type a formula given below.....

=ISNUMBER(Cell3)

Where cell3 is the address of the cell and make sure it returns True.
And if it returns False that means that number is text not the real number.

If that doesn't help, please upload a sample workbook.
0
Ryan ChongCommented:
try to convert the cell's value to "Value" ?

try:

=MAX(VALUE(<cell1>),VALUE(<cell2>))

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Saurabh Singh TeotiaCommented:
I don't think that should be the case because max formula suppose to give you cell1 has a answer..

Have you gone to formulas-->calculations options-->See it's automatic not manual..

Even after that if it doesn't give you the correct answer the can you update your sample file...

Saurabh...
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

BlosMusicAuthor Commented:
The "Value" solution worked. Thanks. Regarding the "text" as opposed to "number" formats, I tried ISNUMBER, and one of the cells remains TRUE (i.e. is a number, not text) despite all my changing this cell and the 'upstream' cells to text. Seems odd!
But thanks, both, anyway. Any ideas on this "text" as opposed to "number" anomaly?
0
BlosMusicAuthor Commented:
. . . and Saurabh, it's definitely on 'automatic'.
0
Ryan ChongCommented:
>>Any ideas on this "text" as opposed to "number" anomaly?
most probably it's because the cell's value was imported in text format, rather than normal number values.

(screenshot from Internet)
sample
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.