+ Reply to Thread
Results 1 to 7 of 7

Split positive values and retun as negative and positive numbers

  1. #1
    Registered User
    Join Date
    10-21-2023
    Location
    Germany
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Split positive values and retun as negative and positive numbers

    Hi all i am new in the forum and need some help in some basic things .
    I have data in a row A ranging from 0 to 20 .
    Need to split the data into equal positive and negative values ranging from 10 to -10 and output the data into another row . For example row E.
    Would be nice if someone would post the formula needed to solve this .
    Split datat.xlsx

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Split positive values and retun as negative and positive numbers

    not sure this is what you are after
    BUT based on your example , and only that example
    =10-A1
    copied down
    will provide the answer
    see column G

    do you have another example

    column H
    could probably use a median to find the middle number
    =MEDIAN($A$1:$A$21)-A1

    then anything below that number will be positive anything above negative

    note the rows go down the sheet , usually number numerically 1,2,3 etc
    and the columns go acroos left to right usually (unless different country) and labelled alphabetically A,B,C etc
    Attached Files Attached Files
    Last edited by etaf; 10-22-2023 at 02:06 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    10-21-2023
    Location
    Germany
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Re: Split positive values and retun as negative and positive numbers

    Thanks for reply .
    As i do understand you sugest put =10-A1 into an empty cell and than drag it down.
    I would like to have a formula that does that automaticaly.
    Lets say i paste the data into column A and excel converts and outputs the data into an extra row .
    The number of cells in a row A would always have the same amount of cells
    Last edited by Benny77; 10-22-2023 at 02:11 PM. Reason: additional info

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Split positive values and retun as negative and positive numbers

    then you need a macro, not a formula/function- I dont provide macros here
    hopefully someone will see and answer -

    you may want to click on the report button and ask a moderator to move your post to the VBA / Macro forum

  5. #5
    Registered User
    Join Date
    10-21-2023
    Location
    Germany
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Re: Split positive values and retun as negative and positive numbers

    Oh sorry . Just moment ago saw a atached excell file .
    Worked like a charm .
    Thanks a lot

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Split positive values and retun as negative and positive numbers

    confused now - sorry
    you dont mind having a function/formula already pasted into the COLUMN (not row, will help in future witj correct terminology)

    is this now all solved - if so see how to make solve in my signature
    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  7. #7
    Registered User
    Join Date
    10-21-2023
    Location
    Germany
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Re: Split positive values and retun as negative and positive numbers

    Hi again i dont mind function or formula to be pasted in to Column .
    Marked thread as solved , added reputation.
    Sory for using wrong terminology ,next time will do better .
    Thanks again for the help .
    Last edited by Benny77; 10-22-2023 at 02:20 PM. Reason: info

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Max. & Min. values from the set of alternate positive & negative numbers
    By thilag in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-07-2014, 05:13 AM
  2. Replies: 3
    Last Post: 08-07-2014, 01:20 AM
  3. [SOLVED] Max. & Min. values from the set of alternate positive and negative numbers.
    By thilag in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-06-2014, 05:57 AM
  4. Convert negative to positive in sheet containing both positive/negative numbers
    By sa02000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-29-2010, 07:52 PM
  5. Replies: 1
    Last Post: 08-14-2009, 11:17 AM
  6. adding positive and negative numbers all as positive
    By tomvh444 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2009, 04:08 PM
  7. Replies: 4
    Last Post: 09-26-2005, 06:05 PM

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