DotDragnet
May 23, 2012, 09:58:32 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Mobile users - Our forum is Tapatalk enabled. http://www.tapatalk.com/
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Excel Help  (Read 442 times)
slaughteredlamb
DDN Contributor
Hero Member
*****
Posts: 1089



peakoverload
View Profile WWW Awards
« on: November 15, 2010, 10:26:07 PM »

I have a spreadsheet with the following columns:

D= Total I Paid For Item
I= Total I Item Sold For
J = Fee 1
K = Fee 2
L = Fee 3
M = Fee 4

Currently I have a formula which works out my total profit by subtracting I-M from D =SUM(I6-D6-J6-K6-L6-M6)

However I now want to add another cell which only displays the result of the sum IF column D has a value higher than 0 so kinda something like =IF D>0 Sum(I6-D6-J6-K6-L6-M6) but how do you write that in a way that Excel understands?
Logged
JasonD
Global Moderator
Hero Member
*****
Posts: 551



View Profile Awards
« Reply #1 on: November 15, 2010, 10:47:29 PM »

=IF(D6>0,I6-D6-J6-K6-L6-M6,"")

There is no need for SUM here.
Logged
slaughteredlamb
DDN Contributor
Hero Member
*****
Posts: 1089



peakoverload
View Profile WWW Awards
« Reply #2 on: November 16, 2010, 10:08:10 AM »

Ahh cheers Jason, that's where I was going wrong. Really must learn more about Excel formulas!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!