Solved

Excel IF formula

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
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.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
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…

696 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