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

x
?
Solved

Excel IF formula

Posted on 2015-02-24
3
Medium Priority
?
86 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
[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
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
Rodney Endriga earned 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
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…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

722 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