ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Prevent negative numbers from changing to positive in calculation (https://www.excelbanter.com/new-users-excel/191533-prevent-negative-numbers-changing-positive-calculation.html)

robbin

Prevent negative numbers from changing to positive in calculation
 
On worksheet Page 1 (for example), I have referenced a group of numbers to
calculate from worksheet Page 2. All the numbers in this reference group are
negative numbers, but the calculation shows them as positive numbers. This is
not the case for every calculation but occurs sporadically within this file.
The formula of the negative numbers shows them with a '-' preceding the
number. The formula of the calculation shows '=sum(cells referenced on Page
1). Why is this happening and how can it be fixed? HELP!!

Thanks!!

Niek Otten

Prevent negative numbers from changing to positive in calculation
 
Maybe some of the entries are text, although they look like negative numbers. You can easily check with the ISNUMBER() function.
Text cells are excluded from the SUM()

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"robbin" wrote in message ...
| On worksheet Page 1 (for example), I have referenced a group of numbers to
| calculate from worksheet Page 2. All the numbers in this reference group are
| negative numbers, but the calculation shows them as positive numbers. This is
| not the case for every calculation but occurs sporadically within this file.
| The formula of the negative numbers shows them with a '-' preceding the
| number. The formula of the calculation shows '=sum(cells referenced on Page
| 1). Why is this happening and how can it be fixed? HELP!!
|
| Thanks!!




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

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