My formula won't work

J

Julie P.

Hi, sorry for another post, but my formula is not working:

=IF(A1=positive,A1,-A1)

I want to take any negative value and make it positive, but leave positive
values alone. I have tried "pos" and "+" as well, but those did not work
either.

Thanks for any help!
 
J

Julie P.

garfield-n-odie said:
=ABS(A1)

or

=IF(A1<0,-A1,A1)

or

=IF(A1>=0,A1,-A1)


Oh, duh! I should have thought of the greater and less than symbols! :)

Thanks Garfield!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top