#1   Report Post  
Anthony
 
Posts: n/a
Default Formula error

Hi,

I'm new (still) so I'm sure this is easy, but I can't suss it.

I have this formula to add the total sum (in £) from certain cells. The
problem is if some of the cells have no value in them I get an error #value

my formula is : =IF(ISBLANK(K4),"",SUM(R4+R6+R8+R11+R14+P17))

any help apreciated
  #2   Report Post  
Dave O
 
Posts: n/a
Default

If one of the cells in the SUM range accidentally has a blank space
entered, you'll get that value.

  #3   Report Post  
Anthony
 
Posts: n/a
Default

anyway then to count a blank space as zero??

"Dave O" wrote:

If one of the cells in the SUM range accidentally has a blank space
entered, you'll get that value.


  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Maybe

=IF(ISBLANK(K4),"",SUM(R4,R6,R8,R11,R14,P17))

Anthony wrote:

Hi,

I'm new (still) so I'm sure this is easy, but I can't suss it.

I have this formula to add the total sum (in £) from certain cells. The
problem is if some of the cells have no value in them I get an error #value

my formula is : =IF(ISBLANK(K4),"",SUM(R4+R6+R8+R11+R14+P17))

any help apreciated


--

Dave Peterson
  #5   Report Post  
Anthony
 
Posts: n/a
Default

thanks Dave P - that did the trick - easy when you know how !

"Dave Peterson" wrote:

Maybe

=IF(ISBLANK(K4),"",SUM(R4,R6,R8,R11,R14,P17))

Anthony wrote:

Hi,

I'm new (still) so I'm sure this is easy, but I can't suss it.

I have this formula to add the total sum (in £) from certain cells. The
problem is if some of the cells have no value in them I get an error #value

my formula is : =IF(ISBLANK(K4),"",SUM(R4+R6+R8+R11+R14+P17))

any help apreciated


--

Dave Peterson



  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

And I bet that at least one of those cells wasn't really blank.

(It may have contained text (even a single space character).)

=sum() ignores cells with text.
But =a1+b1+c1 will cause errors if there's text in one of those cells.

(=sum() doesn't need those +'s either.)

Anthony wrote:

thanks Dave P - that did the trick - easy when you know how !

"Dave Peterson" wrote:

Maybe

=IF(ISBLANK(K4),"",SUM(R4,R6,R8,R11,R14,P17))

Anthony wrote:

Hi,

I'm new (still) so I'm sure this is easy, but I can't suss it.

I have this formula to add the total sum (in £) from certain cells. The
problem is if some of the cells have no value in them I get an error #value

my formula is : =IF(ISBLANK(K4),"",SUM(R4+R6+R8+R11+R14+P17))

any help apreciated


--

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
How can I prevent the "division by zero" error in this formula Watercolor artist Excel Worksheet Functions 2 June 27th 05 03:31 PM
Formula syntax error - chinese and gibberish Joshua Fandango Excel Discussion (Misc queries) 3 March 29th 05 01:27 PM
Formula error... Jambruins Excel Discussion (Misc queries) 2 February 24th 05 09:57 PM
Formula Error Mike R Excel Discussion (Misc queries) 6 January 15th 05 05:27 AM
Formula MATCH error peterfc2 Excel Worksheet Functions 0 November 8th 04 05:53 PM


All times are GMT +1. The time now is 01:21 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"