ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do you sum values in a coloumn when it contains #N/A in a ran. (https://www.excelbanter.com/excel-programming/310766-how-do-you-sum-values-coloumn-when-contains-n-ran.html)

dave

How do you sum values in a coloumn when it contains #N/A in a ran.
 
wrap you lookup with an if statement

=if(lookup=find it, lookup value , else enter zero)

dave


-----Original 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?
.



All times are GMT +1. The time now is 12:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com