Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default If value betwenn 0% and 50% than yes

Not quite Patrick - you forgot about negative numbers.
Your solution should read

=IF(AND(A1=0,A1<=0.5),"yes","no")

as this is a programming forum

If Range("A1").Value <= 0.5 AND Range("A1").Value = 0 then
Range("A2").Value = "yes"
else
Range("A2").Value = "no"
end if


Also - the OP did use "yes" and "now".

Chrissy.



"Patrick Molloy" wrote in message ...
=IF(A1<=.5,"yes","no")

as this is a programming forum

If Range("A1").Value <= 0.5 then
Range("A2").Value = "yes"
else
Range("A2").Value = "no"
end if


Patrick Molloy
Microsoft Excel MVP

-----Original Message-----
Hi guys
what is the formule for this problem
If the value of a cell is between 0% and 50% than yes

else now

Thanks



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from

http://www.ExcelForum.com/

.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
database extract having 3 common cell betwenn sheets deval shah Excel Worksheet Functions 2 November 8th 08 04:48 PM


All times are GMT +1. The time now is 11:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"