Solved

Formula help

Posted on 2011-02-16
4
312 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:
HainKurt earned 167 total points
Comment Utility
try

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

0
 
LVL 33

Assisted Solution

by:jppinto
jppinto earned 166 total points
Comment Utility
"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
Comment Utility
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:HainKurt
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
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…
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…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now