Solved

Excel Worksheets- what do two formulas mean?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel Count Formula 5 36
Excel multiple conditions (text) 4 47
Totalling values of a specific category in a given month 10 58
Google  (Get  Users Email) 2 100
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
With the rapid rise in mobile usage, mobile devices are here to stay and have become an integral part of doing business. Here are 9 great apps for your BYOD environment.
Viewers will learn a basic relationship technique in Power Pivot for Excel 2013.
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.

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now