Help - The formula ="">60 return True. Why?

jaiprakashsingh

New Member
Joined
Jun 27, 2016
Messages
1
Greetings to all.
I am working on building some reporting models. I came across a problem that seems simple but I cant seem to understand the root cause.
Please help me with it.

Open a blank excel.
In cell A1, type the formula ="">60. I expect excel to return false, but it return TRUE.. I dont know why?

Help me as soon as possible.

Thank you in advance.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
You're comparing a string and a number. Who's to say which is greater? You'll need to check whether your comparison value is empty before calculating the result.

=IF(""="",FALSE,"">60)

WBD
 
Upvote 0
It is simply because all text (including zero length strings) is treated as being larger than all numbers in Excel.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,226,730
Messages
6,192,698
Members
453,747
Latest member
tylerhyatt04

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top