ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Excel interprets Text String as value in logical Argument (https://www.excelbanter.com/new-users-excel/216423-excel-interprets-text-string-value-logical-argument.html)

JonesyE360

Excel interprets Text String as value in logical Argument
 
I am using the following logical formula in Excel 7 :

=IF(OR(B670,A570,a57=),$B$88,0)

I only want to return the value in B88 if B67 or A57 is greater than zero. I
assumed that Excel would interpret text as not greater than 0. I was wrong.
Excel is interpreting text in A57 as greater than any value that I assign.
Can someone give me a workaround for this ?

Thanks !

Max

Excel interprets Text String as value in logical Argument
 
Try it like this:
=IF(OR(B670,AND(A570,ISNUMBER(A57))),$B$88,0)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
"JonesyE360" wrote:
I am using the following logical formula in Excel 7 :

=IF(OR(B670,A570,a57=),$B$88,0)

I only want to return the value in B88 if B67 or A57 is greater than zero. I
assumed that Excel would interpret text as not greater than 0. I was wrong.
Excel is interpreting text in A57 as greater than any value that I assign.
Can someone give me a workaround for this ?

Thanks !


JonesyE360

Excel interprets Text String as value in logical Argument
 
Thanks Max ! That works great !

"Max" wrote:

Try it like this:
=IF(OR(B670,AND(A570,ISNUMBER(A57))),$B$88,0)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
"JonesyE360" wrote:
I am using the following logical formula in Excel 7 :

=IF(OR(B670,A570,a57=),$B$88,0)

I only want to return the value in B88 if B67 or A57 is greater than zero. I
assumed that Excel would interpret text as not greater than 0. I was wrong.
Excel is interpreting text in A57 as greater than any value that I assign.
Can someone give me a workaround for this ?

Thanks !


Max

Excel interprets Text String as value in logical Argument
 
Welcome, good to hear. Thanks for the feedback.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
"JonesyE360" wrote in message
...
Thanks Max ! That works great !





All times are GMT +1. The time now is 09:49 PM.

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