Solved

Excel IF formula

Posted on 2015-02-24
3
73 Views
Last Modified: 2015-02-24
In Excel 2010, I am viewing a spreadsheet that contains an IF statement (below are the details)

Cell B4 contains Sales 2013
Cell B5 contains Sales 2014

In Cell B6 the formula contains =IF(B5="","",(B4-B5)B5)

I am not familiar with part of the formula that indicates:  B5="","",

Any feedback is greatly appreciated, Thanks.
0
Comment
Question by:fjkaykr11
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
Rodney Endriga earned 500 total points
ID: 40629570
The first portion of the formula is validating the contents of the cell reference. In this example, the cell reference is B5.
It is checking to see if the cell is BLANK (no data/text in the cell).

The second portion of formula is applying a results to the cell where the formula resides (in this case, cell B6). In this example, the result would be BLANK ("") if cell B5 is BLANK.

The basic IF formula structure is:
     if(logical test, [value if true], [value if false])
0
 
LVL 3

Author Closing Comment

by:fjkaykr11
ID: 40629580
Rodney, thank you for the detailed explanation. I really appreciate your help!
0
 
LVL 5

Expert Comment

by:Rodney Endriga
ID: 40629689
No problem, fjkaykr11, glad I can help.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
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…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

706 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

19 Experts available now in Live!

Get 1:1 Help Now