Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JohnHill
 
Posts: n/a
Default Adding Cell Range with Text


I've got a range of cells to sum. However one or more of the cells may
include "Error". If this occurs I want this to be the sum total so that
the error can be noticed and fixed. Suggestions please !!

Thanks,

John


--
JohnHill
------------------------------------------------------------------------
JohnHill's Profile: http://www.excelforum.com/member.php...o&userid=25171
View this thread: http://www.excelforum.com/showthread...hreadid=389763

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=IF(COUNTIF(C2:C100,"error"),"error",SUM(C2:C100))

Biff

"JohnHill" wrote in
message ...

I've got a range of cells to sum. However one or more of the cells may
include "Error". If this occurs I want this to be the sum total so that
the error can be noticed and fixed. Suggestions please !!

Thanks,

John


--
JohnHill
------------------------------------------------------------------------
JohnHill's Profile:
http://www.excelforum.com/member.php...o&userid=25171
View this thread: http://www.excelforum.com/showthread...hreadid=389763



  #3   Report Post  
JohnHill
 
Posts: n/a
Default


Biff,

Great stuff .... Thanks very much.

John


--
JohnHill
------------------------------------------------------------------------
JohnHill's Profile: http://www.excelforum.com/member.php...o&userid=25171
View this thread: http://www.excelforum.com/showthread...hreadid=389763

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
Wrap text ceases to function in Excel if cell exceeds 9 lines nycemail Excel Worksheet Functions 1 July 24th 05 06:09 PM
Function to determine if any cell in a range is contained in a given cell [email protected] Excel Worksheet Functions 3 February 7th 05 04:19 PM
Adding to a range in a reference? LilaDuncan New Users to Excel 2 February 7th 05 03:12 PM
Formatting a cell as "text" in the number catagory. Ed Excel Worksheet Functions 3 December 7th 04 07:12 PM
Returning a Value to a Cell Based on a Range of Uncertain Size amc422 Excel Worksheet Functions 7 November 14th 04 03:03 PM


All times are GMT +1. The time now is 05:43 AM.

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"