+ Reply to Thread
Results 1 to 9 of 9

Separate negative values ​​of positive values

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Separate negative values ​​of positive values

    Hi.

    I need a formula to bring negative results in column "B"

    and positive results in column "E"

    data will be sought in the "Origin" and put on the "Result"

    See my file
    http://www.4shared.com/office/qcZHiV3c/Numbers.html

    Thank you!
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Separate negative values ​​of positive values

    we prefer if you upload files here, rather than other websites, not every1 can access them

    try this tho,
    in B1 use =if(A1<0,A1,"")
    in E1 use =if)A1>0,A1,"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Separate negative values ​​of positive values

    Hi.
    exceed 1MB file, so I would not deposited here in the forum.

    I tried to compress, but I temho WinRar, it seems to me that this format is not recognized by forum

    See now
    http://www.sendspace.com/file/9b3u1l
    Last edited by marreco; 12-14-2012 at 02:26 PM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Separate negative values ​​of positive values

    did you try my suggestion?

    edit: my point is that some members are on a server that may not allow accessing file-hosting sites, so it may not matter where you put the file. there is normaly always a way to make the file smaller - reduce the number of rows, remove sheets not relevant to the question etc
    Last edited by FDibbins; 12-14-2012 at 02:31 PM.

  5. #5
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Separate negative values ​​of positive values

    Hi.

    Sorry

    I need the data one below the other
    you need to see to understand my archive

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Separate negative values ​​of positive values

    ok well then hopefully some1 else will be able to help you

  7. #7
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Separate negative values ​​of positive values

    Use these array formulas. Both need to be conifrmed with Ctrl+Shift+Enter

    For negatives start with
    Please Login or Register  to view this content.
    copy down

    For positives
    Please Login or Register  to view this content.
    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  8. #8
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Separate negative values ​​of positive values

    non-array formulae...

    in Result!B5:

    Please Login or Register  to view this content.
    in Result!E5:

    Please Login or Register  to view this content.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  9. #9
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Separate negative values ​​of positive values

    Hi.
    The formula of icestationzbra, attended me perfectly!

    thanks to all

+ 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