Solved

Formula help

Posted on 2011-02-16
4
313 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
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:HainKurt
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
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.

914 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

16 Experts available now in Live!

Get 1:1 Help Now