Solved

Excel Worksheets- what do two formulas mean?

Posted on 2014-03-20
3
262 Views
Last Modified: 2014-03-20
am attaching worksheet with 2 sheets
August and July
can you tell me what exactly the code behind two cells mean?
for example E5 and F5 on the August sheet ?
E5 [=IF(B5+July!E5>0,B5+July!E5,0)]
F5[=IF(C5+July!F5>0,C5+July!F5,0)

thank you-
Book1.xlsx
0
Comment
Question by:davetough
[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
3 Comments
 
LVL 19

Assisted Solution

by:helpfinder
helpfinder earned 200 total points
ID: 39941888
E5 says:
IF B5 value (in August sheet) + E5 value (in July sheet) is greather than 0 then result is B5 value (August sheet) + E5 value (July sheet), if not then write 0.

In your E5 it means
20+650>0 - the condition is valid that´s because in E5 value 670 is (because formula says if the condition is valid then put that sum in E5 cell value)

If you want to see what´s behind the formula, just mark cell with formula and go to Formulas > Evaluate formula and you will see the steps formula counts with and values for each reference

F5 has the same logic
0
 
LVL 30

Accepted Solution

by:
gowflow earned 300 total points
ID: 39942107
Helpfinder gave you a pure technical explanation on formulas.

I will give you a meaningful explanation:

E4 (debit) /F4 (Credit)
The column that has both E and F formulas are the Year to date formulas.
This formula checks if the current month (August + the year to date of previous month July) is bigger than zero then Add this month to previous year todate and put the value in E4 same for F4

I modified the formulas to make them more 'user freindly' as presume when you have a zero value (if we are talking debit and credit we are talking sometimes a whole bunch of items that could be couple of hundreds and it become annoying so see all kind of zeroes

So I replaced the formulas in
Col E, F, H, I to make sure that if the result of the calculation is zero to put a blank instead of zero.

check the attached file

here are the formulas:
=IF(B4+July!E4>0,B4+July!E4,"")

=IF(C4+July!F4>0,C4+July!F4,"")

=IF(July!E4<>"",July!E4,"")

=IF(July!F4<>"",July!F4,"")

Check the file.

gowflow
DBCR-YTD.xlsx
0
 

Author Closing Comment

by:davetough
ID: 39943392
Thanks for the help and explanation
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
Viewers will learn what comprises a theme in Excel 2013, as well as how to customize them.
Viewers will learn a basic data manipulation technique of unpivoting data in Power Query for Excel 2013 and the importance of using good data. Start with data in a poor structure: Create a table on your data: Unpivot columns: Rename columns: …

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