ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Absolute values in formulas (https://www.excelbanter.com/excel-discussion-misc-queries/73481-absolute-values-formulas.html)

hurricanekitti

Absolute values in formulas
 
Hi!

I have a column with some negative numbers (say, -0.39). I need to convert
them to log 2 values (so, -0.39 log 2). To do this, I set up an equation
2^(the cell). With the positive numbers, this works beautifully, but with the
negative numbers, it interprets them as 2^-0.39. How can I resolve this,
while keeping the positive numbers correct? Additionally, I would be happy
just making them absolute values and filling in the negative numbers myself,
but that doesn't seem to work, either. I have the 2003 edition.

Thanks!

Elkar

Absolute values in formulas
 
Will this work?

=2^ABS(the cell)

HTH,
Elkar


"hurricanekitti" wrote:

Hi!

I have a column with some negative numbers (say, -0.39). I need to convert
them to log 2 values (so, -0.39 log 2). To do this, I set up an equation
2^(the cell). With the positive numbers, this works beautifully, but with the
negative numbers, it interprets them as 2^-0.39. How can I resolve this,
while keeping the positive numbers correct? Additionally, I would be happy
just making them absolute values and filling in the negative numbers myself,
but that doesn't seem to work, either. I have the 2003 edition.

Thanks!



All times are GMT +1. The time now is 04:34 AM.

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