#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default sum if statement

My formula in Column D should read =sum(d6+c7=d7) but if c7 is blank then i
want the answer to be blank in column D7

column
C6 D6
5 10
c7 D7
0 leave blank.(not even a zero)


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default sum if statement

You can make the cell look blank with:
=if(c7="",sum(d6,d7,c7))
or
=if(c7="",d6+d7+c7)

You don't need =sum() and the + signs.

Kim Shelton at PDC wrote:

My formula in Column D should read =sum(d6+c7=d7) but if c7 is blank then i
want the answer to be blank in column D7

column
C6 D6
5 10
c7 D7
0 leave blank.(not even a zero)


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default sum if statement

Still puts o in d7
if c7 is blank that I don't want the formula in d7 to calculate not even a
zero

any other ideas????

"Dave Peterson" wrote:

You can make the cell look blank with:
=if(c7="",sum(d6,d7,c7))
or
=if(c7="",d6+d7+c7)

You don't need =sum() and the + signs.

Kim Shelton at PDC wrote:

My formula in Column D should read =sum(d6+c7=d7) but if c7 is blank then i
want the answer to be blank in column D7

column
C6 D6
5 10
c7 D7
0 leave blank.(not even a zero)


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default sum if statement

Sorry, I had a couple of typos.

=if(c7="","",sum(d6,d7,c7))
or
=if(c7="","",d6+d7+c7)

Kim Shelton at PDC wrote:

Still puts o in d7
if c7 is blank that I don't want the formula in d7 to calculate not even a
zero

any other ideas????

"Dave Peterson" wrote:

You can make the cell look blank with:
=if(c7="",sum(d6,d7,c7))
or
=if(c7="",d6+d7+c7)

You don't need =sum() and the + signs.

Kim Shelton at PDC wrote:

My formula in Column D should read =sum(d6+c7=d7) but if c7 is blank then i
want the answer to be blank in column D7

column
C6 D6
5 10
c7 D7
0 leave blank.(not even a zero)


--

Dave Peterson


--

Dave Peterson
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
Can an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
Need if Statement nander Excel Worksheet Functions 2 August 20th 05 01:58 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


All times are GMT +1. The time now is 03:15 AM.

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

About Us

"It's about Microsoft Excel"