Solved

Excel Worksheets- what do two formulas mean?

Posted on 2014-03-20
3
260 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
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 29

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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

Suggested Solutions

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 the basics of printing in Excel 2013 and how to adjust some common settings.
Viewers will learn how to share Excel data with others from desktop Excel, as well as Excel Online via OneDrive, and embed an Excel file on a website.

828 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