Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default How do you sum values in a coloumn when it contains #N/A in a ran.

one way might be
=SUM(IF(NOT(ISNA(Range)),Range))
array entered (control/shift/enter)

This may not be the most efficient way of dealing with it.
Perhaps a better alternative is to avoid the #N/A results by using an if
statement in the VLookup
or a separate column that simply tests the principal column for #N/A and
then sum that.
Not sure what would cause the least system overhead.

--
Return email address is not as DEEP as it appears
"sa" wrote in message
...
I have a range of cells that utilizes the VLOOKUP command to search for
numerical data by descrition and place it in a cell. Then I want to add
the
numerical data with the sum function. But in some cells there is #N/A
because
the numerical data isn't present. The Sum function always returns #N/A
when
this occurs.

Can anyone help with this?



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
Sum amount of days in another coloumn Scott_goddard Excel Worksheet Functions 8 April 13th 10 12:51 PM
Sort one coloumn according to another coloumn on another worksheet Sunir M S[_2_] Excel Worksheet Functions 0 December 6th 09 09:59 AM
split coloumn Finn Excel Worksheet Functions 3 October 29th 07 01:14 PM
How to delete values of a cell if it is found in another coloumn karty Excel Worksheet Functions 3 October 22nd 05 04:29 PM
about coloumn wide Vikrant Vaidya New Users to Excel 1 December 8th 04 08:09 AM


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