Find a range of numbers in one cell and output in another

Here I am again with something I just can't seem to find an answer to:
I need to find the range of numbers in one cell and place that value in another, like so:
Cell A1 says: "3 - 8"
Cell A2 returns: 5
Any simple formula to do this?

Hi gunkie83,
Yvan's formula does perform properly. He stated: Here the decimal separator is comma so Numbers use the semi-colon as parameters separator but the formula is OK. CAUTION, here I left the semi-colons.
Yvan is in France using the French version of iWork. For the U.S.A. semicolons need to be changed to a comas as I have in the following formulae.
=VALUE(LEFT(A,SEARCH("-",A)-1))-VALUE(RIGHT(A,LEN(A)-SEARCH("-",A)))
this returns -5
=ABS(VALUE(LEFT(A,SEARCH("-",A)-1))-VALUE(RIGHT(A,LEN(A)-SEARCH("-",A))))
this returns 5
One important observation in cell A2 the text reads as 3 - 8 not 3-8. Also it can be inputted as 3 -8 but not 3- 8. Watch those spaces. Fun huh.
Hope this helps. Again Yvan thank you.
Cordially,
RicD

Similar Messages

  • How to calculate SUM from multiple numbers in one cell

    Is it possible to calculate SUM if I want to put multiple numbers in one cell?
    Many thanks in advance

    you can sum cell by using the sum() function.
    you can sum a row:
    =sum(1:1)
    will sum ALL cells in row 1
    you can sum a column:
    =sum(C)
    will sum all cells in column C
    you can sum a list of cells:
    =sum(A1, C5, E76, B1:5)
    will add together cells A1, C5, E76, B1, B2, B3, B4, and B5

  • Why when I copy a cell and paste into another it pastes into the middle of three cells?

    Why when I copy a cell and paste into another it pastes into the middle of three cells? I was very fond of using numbers as it was straightforward and much better than Excel. But I made the mistake of installing Mavericks and Numbers 3.0. Now it is worse than Word at doing what it thinks it wants to do rather than what you want to do. I can no longer copy a cell and paste it into another. For some reason on pasting, instead of pasting into just one other cell it pastes into the middle of three cells - what the ****?

    Thanks Badunit for your quick response
    I have found the answer - it is a incompatabilty between CopyPaste Pro and Numbers: -
    Thanks dbg1596 - solved my problem with which I wasted a good couple of hours getting more and more frustrated with numbers 3.0
    I had the same problem - copy a cell - paste into another cell and it created three vertical cells with the pasted data in the middle
    Definitely a problem between CopyPaste Pro - one of the most useful aps on my Mac for the last many years
    Once I quit CopyPaste Pro - no problem with pasting in Numbers 3.0
    But I use CopyPaste Pro all the time
    Have the folks responded to your query?
    But I use CopyPaste Pro all the time - hope that it can be sorted sooner rather than later

  • How do you take pictures from one library and put in another library??

    How do you take pictures from one library and put in another library??

    Options:
    1. Export from iPhoto A to the Finder, then import to iPhoto B
    This gets the photo over, but no versions, no edit history and not all the metadata
    2. Use iPhoto Library Manager
    This gets everything: versions, edit history and all the metadata.
    Regards
    TD

  • Click on link in one portlet and open in another portlet

    how do you click on link in one portlet and open in another portlet?

    Hrmm... This is a IBM Question..
    Officially this is a meaningless buzzword promoted by IBM. Portals are some sort of Servlet but IBM incapable of explaining how they differ from ordinary Servlets. Some speculate they are used to present a webpage with many services on it such as a search engine, and news that come from diverse sources. The user is able to dynamically configure the contents and layout of the page much like Netscape home pages
    I don't understand what yhour asking..
    I am assuming you want to call another servlet (portlet)? That would be absurd to do .. You let the HTTP request and XML file to deal with the response of the portlet

  • How to set cookie value in one page and retrieve in another page using setA

    How to set cookie value in one page and retrieve in another page using setActionListener?
    I have tried with following code srcpage.jspx->destpage.jspx
    srcpage.jspx
    <af:table value="#{bindings.DepartmentsView1.collectionModel}"
    var="emp" rows="#{bindings.EMPView1.rangeSize}"
    first="#{bindings.EMPView1.rangeStart}"
    emptyText="#{bindings.DepartmentsView1.viewable ? 'No rows yet.' : 'Access Denied.'}">
    <af:column sortProperty="EmployeeName" sortable="false"
    headerText="Cookie Testing">
    <af:commandLink text="#{emp.EmployeeName}" action="success">
    <af:setActionListener from="#{emp.EmployeeName}"
    to="#{cookie}"/>
    </af:commandLink>
    </af:column>
    </af:table>
    espage.jspx
    <af:outputText value="Test Cookie Value: #{cookie}"/>
    ,Here Test Cookie Value prints the following instead of its original String value
    {JSESSIONID=javax.servlet.http.Cookie@7da288, oracle.uix=javax.servlet.http.Cookie@399f62}
    I have passed employee name "Robert" to cookie in srcpage.jspx,but it prints "JSESSIONID....." instead of "Robert" in destpage.jspx
    Thanks in advance
    Kalee

    Hi,
    "cookie" is a reserved name. If you want to write to a session scope attribute called "cookie" then you have to call #{sessionScope.cookie}. If you want to use EL to set and read from cookies then you will have to use
    #{cookie.cookieName}
    Note that #{cookie} writes to and returns a map
    check this: http://www.informit.com/articles/article.aspx?p=30946&seqNum=7
    Frank

  • I run Tiger OSX on one MacBook and SnowLeopard on another. Photos were downloaded from Tiger to SnowLeopard, and now iPhoto won't open on the Tiger Mac. Will upgrading iPhoto fix this problem?

    I run Tiger OSX on one MacBook and SnowLeopard on another. Photos were downloaded from Tiger to SnowLeopard, and now iPhoto won't open on the Tiger Mac. Will upgrading iPhoto fix this problem?

    What matters is the version of iPhoto you have on the different machines. Can you tell us what they are, and what exact error message you get.
    Regards
    TD

  • HT3819 i have all my itunes on one computer and have brought another and need to transfure all my exsisting music to this new computer, how do i do this? please help.

    I have all my itunes on one computer and have brought another and need to transfer all my music etc to new one, how do i do this? please help its doing my head in!

    Hey allen72,
    Thanks for the question. I understand you wish to transfer your iTunes library to a new computer. There are a few different options for doing so, the following article provides more information:
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/HT4527
    Thanks,
    Matt M.

  • How display top 3 revenues in one block and remaining in another block

    How display top 3 revenues in one block and remaining in another block.

    create a variable as
    v_Rank =Rank([Revenue])
    then create a block level filter on the 2nd block as v_Rank Greater than 3.
    you may need to modify the variable formula as per requirement to get the rank of the row.

  • Formula to deduct one cell from another cell - simple equation - cant find the answer, formula to deduct one cell from another cell - simple equation - cant find the answer

    Could anyone tell me how to deduct one cell from another cell in the numbers application.
    Thank you!

    to subtract one cell from another you enter a formula in a cell by:
    1) click the cell where you want the result to be
    2) click the cell that contains on of the operands
    3) type the minus sign ("-")
    4) click the other cell with the other operand
    e.g.  if cell A1 contains 5, cell B1, contains 2 and you want the difference of those two cells to be in cell C1....
    you would click cell C1 and then type: "=A1-B1" then type the enter key OR
    click cell C1 and then type "=", then click cell A1, then type "-", then click cell B1, then type the "enter" key

  • How do I use the formula = to enter one cell as a % of another cell

    I wish to enter into a seperate cell what one cell is as a % of another cell in numbers. How do I enter this % formula into the required cell.
    Peter

    Jalna,
    In "a separate cell" write: one-cell's-address / another-cells-address.
    Format separate-cell to %.
    Jerry
    Edit: I just noticed that your question is about iOS Numbers. So, the answer for iOS Numbers would probably be something like:
    Click in "a separate cell". Enter formula mode. Click on "one-cell", select  "/" operator, click on "another-cell". Exit formula mode. Format as %.
    Can you tell I'm just guessing?
    J.

  • ALV copy one cell and paste into 10 cell at the same time

    Hi,
    I have editable ALV. Requirement is to 1) copy one cell value and paste into 10 selected cell at the same time. 
                                                                  2) Pull doen cell like excel to copy cell value.
    Your help would be highly appreciated.

    Just a try,
    switch the Quick cut and paste option on,now select the data then
    select the cells of the column and right click for paste.
    Im not at all sure whether this will work

  • SUBMIT works in one server and fails in another!!

    Dear All,
    I have the following SUBMIT statement that works in one server perfectly and fails in another with SY-SUBRC 8 [ Error in job scheduling (JOB_SUBMIT) ].  
    SUBMIT riaufk20 EXPORTING LIST TO MEMORY AND RETURN WITH SELECTION-TABLE seltab.
    Below is the entire program. Any idea why this is happening ?
    Thanks in advance,
    Rajesh
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(P_AUART) LIKE  DIAUFK-AUART
    *"  TABLES
    *"      T_OUTPUT STRUCTURE  ZLINE
      DATA: i_list LIKE abaplist OCCURS 0 WITH HEADER LINE.
      DATA: BEGIN OF i_list_conv OCCURS 1,
              line(256),
            END OF i_list_conv.
      DATA: BEGIN OF i_order OCCURS 0,
              aufnr LIKE aufk-aufnr,
            END OF i_order.
      DATA: seltab     TYPE TABLE OF rsparams,
            seltab_wa  LIKE LINE OF seltab.
      RANGES: r_aufnr FOR aufk-aufnr.
      DATA: v_lines TYPE i.
      MOVE: 'AUART'  TO seltab_wa-selname,
            'S'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            p_auart  TO seltab_wa-low,
            ' '      TO seltab_wa-high.
      APPEND seltab_wa TO seltab.
      SUBMIT riaufk20 EXPORTING LIST TO MEMORY AND RETURN WITH SELECTION-TABLE seltab.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = i_list
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'LIST_TO_ASCI'
    EXPORTING
      LIST_INDEX               = -1
      WITH_LINE_BREAK          = ' '
    IMPORTING
      LIST_STRING_ASCII        =
       TABLES
         listasci                 = i_list_conv
         listobject               = i_list
       EXCEPTIONS
         empty_list               = 1
         list_index_invalid       = 2
         OTHERS                   = 3
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      DATA: v_text1(20).
      LOOP AT i_list_conv.
        IF sy-tabix GT 3.
          SPLIT i_list_conv-line AT '|' INTO v_text1 i_list_conv-line.
          SPLIT i_list_conv-line AT '|' INTO v_text1 i_list_conv-line.
          SPLIT i_list_conv-line AT '|' INTO i_order-aufnr i_list_conv-line.
          APPEND i_order.
          CLEAR  i_order.
        ENDIF.
      ENDLOOP.
      DESCRIBE TABLE i_order LINES v_lines.
      DELETE i_order INDEX v_lines.
      REFRESH seltab.
      CLEAR   seltab_wa.
      REFRESH i_list.
      REFRESH i_list_conv.
      SORT i_order.
      LOOP AT i_order.
      MOVE: 'AUFNR'  TO seltab_wa-selname,
            'S'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            i_order-aufnr  TO seltab_wa-low,
            ' '     TO seltab_wa-high.
      APPEND seltab_wa TO seltab.
      ENDLOOP.
      SUBMIT riafvc20 WITH SELECTION-TABLE seltab EXPORTING LIST TO MEMORY AND RETURN VIA SELECTION-SCREEN.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = i_list
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'LIST_TO_ASCI'
    EXPORTING
      LIST_INDEX               = -1
      WITH_LINE_BREAK          = ' '
    IMPORTING
      LIST_STRING_ASCII        =
       TABLES
         listasci                 = i_list_conv
         listobject               = i_list
       EXCEPTIONS
         empty_list               = 1
         list_index_invalid       = 2
         OTHERS                   = 3
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      t_output[] = i_list_conv[].
    ENDFUNCTION.

    Rajesh,
    Whatever parameters  you are using in submit statement  check those things are available in other server or not.
    Regards,

  • How to get the data from one table and insert into another table

    Hi,
    We have requirement to build OA page with the data needs to be populated from one table and on save data into another table.
    For the above requirement what the best way to implement in OAF.
    I understand that if we attach VO object instance to region/page, we only can pull and put data in to only one table.
    Thanks

    You can achieve this in many different ways, one is
    1. Create another VO based on the EO which is based on the dest table.
    2. At save, copy the contents of the source VO into the dest VO (see copy routine in dev guide).
    3. commiting the transaction will push the data into the dest table on which the dest VO is based.
    I understand that if we attach VO object instance to region/page, we only can pull and put data in to only one table.
    if by table you mean a DB table, then no, you can have a VO based on multiple EOs which will do DMLs accordingly.Thanks
    Tapash

  • Can I clone one Mac and restore to another?

    My wife has a 2005 17" CD MBP running Tiger which has seen better days and will probably soon give up the ghost. As a short term solution I was thinking of making a clone of the hard drive and restoring it onto a spare 2007 15" C2D MBP that we have.
    Will this work or will the different chipsets cause problems?
    I intend to use superduper as I already have a licence for this but was wondering if the clone that is made is machine specific, or will it not work because of the different chipsets.
    If this doesn't work would another option be to load Tiger onto the spare MBP and then use migration assistant to copy?
    Thanks in advance.

    Looking at http://www.everymac.com/systems/apple/macbook_pro/index-macbookpro.html it seems that the MBPs in the year you provide could boot to 10.4.9  As long as you have it at least at that then you probably stand a reasonable chance.  While installations are nominally machine specific, I am not sure how much they are really. I have taken drives from one machine and put them in a similar machine (e.g., Quicksilver 2000 to QS 2002) and had them run for years with no issues appear. The only thing you can do is try, but I'd say it had a good chance of working.

Maybe you are looking for

  • How to retrieve print settings from .rpt file?

    I have crystal reports 10 report file, in which I edited the printer settings... collate and number of copies(2) and saved it. now i want to print it from VB6. I am using a customized print dialog form (not using the common dialog control) I want to

  • NetBoot Image with 10.4.3. won't do diskless mode

    Hi all, I have set up a NetBoot disk image containing 10.4.3. In NetBoot I have checked the diskless button, but every client that boots from this image seems to ignore the diskless setting, so I can't unmount the client's hard disk to perform an ASR

  • Using raw

    Dear all I searched the forum but did not found answer to this question that I would assume was asked several times before : Using I photo 7.35 and having downloaded plenty pictures in both JPEG and RAW format, I realize now how much better Raw is, a

  • I cannot update my software for Iphone

    whenever i connect my Iphone to Itunes, it ask me to download and update... but after waiting for hrs, it pop up message says connection time out.(the download bar runs and completed)..It say connection timed out.. anyone can help??

  • Ipod touch won't conect to the new version of Itunes. Help

    I just downloaded the new Itunes and now my Ipod touch wont connect to itunes or even my computer. my brothers only connects to the computer but not itunes. Can anyone help me fix this? what do i do?