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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
try to convert the cell's value to "Value" ?

try:

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

Open in new window

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...
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

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?
BlosMusicAuthor Commented:
. . . and Saurabh, it's definitely on 'automatic'.
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
>>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
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.