+ Reply to Thread
Results 1 to 4 of 4

Convert negative to positive in sheet containing both positive/negative numbers

  1. #1
    Forum Contributor
    Join Date
    10-03-2005
    Posts
    185

    Convert negative to positive in sheet containing both positive/negative numbers

    I have few huge sheets with thousands of rows of data (and lots of columns). It contains both negative and positive numbers. I would like to convert negative nubmers to positive before I can start creating pivot table on this data. Any suggestions?

    Thank you,
    Jay
    Last edited by sa02000; 05-29-2010 at 07:50 PM.

  2. #2
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: Convert negative to positive in sheet containing both positive/negative numbers

    Yes, use the ABS formula
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Convert negative to positive in sheet containing both positive/negative numbers

    You could select the area of interest and run this:
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Convert negative to positive in sheet containing both positive/negative numbers

    My take...This will convert all the numeric cells on the active worksheet to their positive value:
    Please Login or Register  to view this content.

    If you want the macro to do all the worksheets in the activeworkbook, then:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1