Solved

Excel IF formula

Posted on 2015-02-24
3
85 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 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

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.
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…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

626 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