ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Calculate an Excel column that contains numbers and #Values (https://www.excelbanter.com/excel-discussion-misc-queries/104002-calculate-excel-column-contains-numbers-values.html)

Kevin

Calculate an Excel column that contains numbers and #Values
 
Dear All,

I am trying to calculate a column in Excel but some of the cells within the
column have #Value in them because of other calculations within the
worksheet. Is there anyway to calculate the numbers in a column (in this case
the number are set as a currency) and ignore the #Value that is in some of
the cells.

Thanks

Dave O

Calculate an Excel column that contains numbers and #Values
 
One strategy is to change the formulas that are returning #VALUE to an
IF statement, maybe something like this:
=IF(ISERROR(your formula here),"",your formula here)

This evaluates the formula and returns nothing if the formula returns
an error, but returns the formula's result if it is not an error.


Kevin

Calculate an Excel column that contains numbers and #Values
 
Hi Dave O

Thanks, but I can not get this to work, I am a bit of a beginer in Excel so
maybe I have not explained what I am trying to do properly.

ぎ18.00 #VALUE! #VALUE!
0 ぎ425.00 ぎ0.00 ツ」0.00
ぎ18.00 #VALUE! #VALUE!

1 ぎ2,170.00 ぎ2,170.00 ツ」1,446.67
Y 8 ぎ63.00 ぎ504.00 ツ」336.00

1 ぎ460.00 ぎ460.00 ツ」306.67
Y 8 ぎ40.00 ぎ320.00 ツ」213.33

ぎ0.00 ツ」0.00
ぎ0.00 ツ」0.00
ぎ0.00 ツ」0.00
ぎ0.00 ツ」0.00
Total #VALUE! #VALUE!

As you can see above because the formula coming across is delivering a
#value (which is correct) I can not total the column. I need some way
ignoring the #Value so that I can total the column


"Dave O" wrote:

One strategy is to change the formulas that are returning #VALUE to an
IF statement, maybe something like this:
=IF(ISERROR(your formula here),"",your formula here)

This evaluates the formula and returns nothing if the formula returns
an error, but returns the formula's result if it is not an error.



Dave F

Calculate an Excel column that contains numbers and #Values
 
What is the formula in your Total line?



"Kevin" wrote:

Hi Dave O

Thanks, but I can not get this to work, I am a bit of a beginer in Excel so
maybe I have not explained what I am trying to do properly.

ぎ18.00 #VALUE! #VALUE!
0 ぎ425.00 ぎ0.00 ツ」0.00
ぎ18.00 #VALUE! #VALUE!

1 ぎ2,170.00 ぎ2,170.00 ツ」1,446.67
Y 8 ぎ63.00 ぎ504.00 ツ」336.00

1 ぎ460.00 ぎ460.00 ツ」306.67
Y 8 ぎ40.00 ぎ320.00 ツ」213.33

ぎ0.00 ツ」0.00
ぎ0.00 ツ」0.00
ぎ0.00 ツ」0.00
ぎ0.00 ツ」0.00
Total #VALUE! #VALUE!

As you can see above because the formula coming across is delivering a
#value (which is correct) I can not total the column. I need some way
ignoring the #Value so that I can total the column


"Dave O" wrote:

One strategy is to change the formulas that are returning #VALUE to an
IF statement, maybe something like this:
=IF(ISERROR(your formula here),"",your formula here)

This evaluates the formula and returns nothing if the formula returns
an error, but returns the formula's result if it is not an error.




All times are GMT +1. The time now is 02:03 AM.

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