#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUMIF

i do HATE MShelp

if cell d17 has something in it (0) i want to subtract c17-d17 or add c17
and -d17

please help! i could do it in C++
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default SUMIF

Try the below

=IF(D170,C17-D17,C17+(-D17))

OR
=IF(D17="","",C17-D17)

If this post helps click Yes
---------------
Jacob Skaria


"jmfozzybear" wrote:

i do HATE MShelp

if cell d17 has something in it (0) i want to subtract c17-d17 or add c17
and -d17

please help! i could do it in C++

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default SUMIF

Are you sure you mean that, Jacob?

Isn't C17-D17 the same as C17+(-D17) ?
--
David Biddulph

"Jacob Skaria" wrote in message
...
Try the below

=IF(D170,C17-D17,C17+(-D17))

OR
=IF(D17="","",C17-D17)

If this post helps click Yes
---------------
Jacob Skaria


"jmfozzybear" wrote:

i do HATE MShelp

if cell d17 has something in it (0) i want to subtract c17-d17 or add
c17
and -d17

please help! i could do it in C++



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default SUMIF

I dont think OP is quite good with IF(). I just put in that to show the IF
statement ...Didnt you see the second formula...

If this post helps click Yes
---------------
Jacob Skaria


"David Biddulph" wrote:

Are you sure you mean that, Jacob?

Isn't C17-D17 the same as C17+(-D17) ?
--
David Biddulph

"Jacob Skaria" wrote in message
...
Try the below

=IF(D170,C17-D17,C17+(-D17))

OR
=IF(D17="","",C17-D17)

If this post helps click Yes
---------------
Jacob Skaria


"jmfozzybear" wrote:

i do HATE MShelp

if cell d17 has something in it (0) i want to subtract c17-d17 or add
c17
and -d17

please help! i could do it in C++



.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumif Philh3325 Excel Discussion (Misc queries) 1 December 13th 08 11:36 PM
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 11:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"