Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

Formula help

Posted on 2011-02-16
Medium Priority
318 Views
=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
Question by:Gazza83
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 2

LVL 59

Accepted Solution

HainKurt earned 668 total points
ID: 34909599
try

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

0

LVL 33

Assisted Solution

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

LVL 58

Assisted Solution

cyberkiwi earned 668 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 59

Expert Comment

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

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaacâ€¦
Suggested Courses
Course of the Month4 days, 10 hours left to enroll