Hmmm...
Well, your subject line says you're getting a result of 0 and your post says
you're getting a result of #N/A.
If the result is 0:
It may be due to use of the wrong operator. > or < ?
If the result is #N/A:
There's nothing wrong with the formula itself. Are there any #N/A errors in
either of the ranges?
--
Biff
Microsoft Excel MVP
- Show quoted text -
Apolgies on confusion with subect and body
Originally I was getting #N/A, then relized the second argument in the
formula did not use $2000 rows only $45 rows
I change to $2000 and now I receive a 0
Alan -
The data has been copy pasted to Excel from HTML then
data..text..columns
I also ran a macro to clean all extra spaces and another macro to
bring any trailing negatives to the fron of the number
I tested the value column with =ISNUMBER(). All returned TRUE.
I then picked a single period of the dataset and switched to a very
simple sumif formula:
=SUMIF(Data!$D$24:$D$45,"<0")/1000
This returned a value of 2.0 (K's)
I then manually added all items in the range < 0.
I received a result of $2,011.65.
All that said, I believe the data is good to go.
Has to be something with the formula
Best regards,
-markc