Solved

Formula help

Posted on 2011-02-16
4
315 Views
Last Modified: 2012-05-11
=IF(B7<5,"Yes","No")

Please can you help me amend the formula so that if B7is blank = "" the formula will also return a result of blank.

However should B7 be greater than 5 (<5) it will return "No"
Less than or equal to 5 "Yes"

0
Comment
Question by:Gazza83
  • 2
4 Comments
 
LVL 51

Accepted Solution

by:
Huseyin KAHRAMAN earned 167 total points
ID: 34909599
try

=if(B7="","",IF(B7<5,"Yes","No"))

0
 
LVL 33

Assisted Solution

by:jppinto
jppinto earned 166 total points
ID: 34909628
"should B7 be greater than 5 (<5)"  ...did you meant "greater than 5 (>5)"?
0
 
LVL 58

Assisted Solution

by:cyberkiwi
cyberkiwi earned 167 total points
ID: 34909663
However should B7 be greater than 5 (<5) it will return "No"
Less than or equal to 5 "Yes"

Those two put together mean that you have your condition wrong. It's <=5 not <5

=IF(B7="","",IF(B7<=5,"Yes","No"))
0
 
LVL 51

Expert Comment

by:Huseyin KAHRAMAN
ID: 34909691
he has this currently

=IF(B7<5,"Yes","No")

and we assume it is correct :) no matter what he put in sentence :)
and he wants "" if B7 is blank + current logic o/w
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question