Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Shooter
 
Posts: n/a
Default sum of cells without #VALUE

I have values in cells C3, E3, G3, I3. I have input "n/a" in cell G3. In cell
K3, I have a formula ( =C3+E3+G3+I3). I am getting a #VALUE error message in
cell K3 because of the n/a value. I would like to add the cells with number
values and ignore the n/a value. I appreciate help with this. Thanks.
--
Shooter
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=SUM(C3,E3,G3,I3)

SUM() ignores text.

In article ,
"Shooter" wrote:

I have values in cells C3, E3, G3, I3. I have input "n/a" in cell G3. In cell
K3, I have a formula ( =C3+E3+G3+I3). I am getting a #VALUE error message in
cell K3 because of the n/a value. I would like to add the cells with number
values and ignore the n/a value. I appreciate help with this. Thanks.

  #3   Report Post  
Jock W
 
Posts: n/a
Default

Try this

=If(G3="n/a",(C3+E3+I3),(C3+E3+G3+I3))

"Shooter" wrote:

I have values in cells C3, E3, G3, I3. I have input "n/a" in cell G3. In cell
K3, I have a formula ( =C3+E3+G3+I3). I am getting a #VALUE error message in
cell K3 because of the n/a value. I would like to add the cells with number
values and ignore the n/a value. I appreciate help with this. Thanks.
--
Shooter

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
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:17 AM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM


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