Hi,
Okay, so:
A1 displays "127:15" (no quotes, text cell).
A2 has the function MID(A1,1,3), to retrieve the number "127".
A3 has the function IF(A2>186,"yes","no").
A3 says: yes.
Why?
Thank you all!![]()
Hi,
Okay, so:
A1 displays "127:15" (no quotes, text cell).
A2 has the function MID(A1,1,3), to retrieve the number "127".
A3 has the function IF(A2>186,"yes","no").
A3 says: yes.
Why?
Thank you all!![]()
Last edited by blackmilk; 04-12-2010 at 11:09 AM.
try
=IF(--A2>186,"yes","no")
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
That worked, thanks!
What exactly do those lines do?
just forces it to a real number you could have also used a2+0 or a2*1 or
=IF(VALUE(A2)>186,"yes","no")
To further Martin's explaination, the MID function returns text (a string). You're asking to compare that string to a number. Martin's formula will force A2 into a number. Another way would be to change your MID equation to read
=MID(A1,1,3)+0
Hope that helps.
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
Okay, I see.
Thank you guys for your help and explanations![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks