+ Reply to Thread
Results 1 to 4 of 4

separating data

  1. #1
    Registered User
    Join Date
    08-11-2005
    Posts
    6

    separating data

    I have a spreadsheet that has negative and positive dollar amounts in the same column and I would like to separate them, moving the negative amounts one column to the right.

    So
    E
    $900
    $200
    -$23.98
    $100
    -$5.67
    -$88.99

    Would be
    E
    F
    $900
    $200
    -$23.98
    $100
    -$5.67
    -$88.99


    If anyone has a macro or if/then formula that would automate this that would be perfect!

    Thanks.
    Last edited by spackler; 05-10-2007 at 03:17 PM.

  2. #2
    Forum Contributor stevebriz's Avatar
    Join Date
    09-07-2006
    Location
    Santiago Chile
    Posts
    389
    Here is a macro

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-11-2005
    Posts
    6
    Thanks stevebriz, that works but for some reason it stops after 20 rows, is it something to do with the end if?

  4. #4
    Registered User
    Join Date
    08-11-2005
    Posts
    6
    Nevermind, I see the 1 - 20 statement and I changed it to 200 to run the entire sheet.

    Thanks much!

+ 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