+ Reply to Thread
Results 1 to 11 of 11

Summing a number

  1. #1
    Registered User
    Join Date
    10-21-2013
    Location
    Japan
    MS-Off Ver
    Excel 2007
    Posts
    17

    Summing a number

    I am trying to add number written in below format in cell: Please help me in a single formula so that in next cell I can add below numbers:

    0.25/0.568/0.2568/0.12356

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

    Re: Summing a number

    Some help here

    http://www.mrexcel.com/forum/excel-q...ngle-cell.html

    http://www.mrexcel.com/forum/excel-q...ngle-cell.html

    http://www.mrexcel.com/forum/excel-q...ated-text.html
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Valued Forum Contributor
    Join Date
    05-07-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    354

    Re: Summing a number

    For the string in A1

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    confirmed with <Ctrl>+<Shift>+<Enter> (it is an array formula)
    Copy down for rest of the strings
    Regards,
    Vandan

  4. #4
    Registered User
    Join Date
    10-21-2013
    Location
    Japan
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Summing a number


  5. #5
    Valued Forum Contributor
    Join Date
    05-07-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    354

    Re: Summing a number

    Here is non-array version of my solution post #3

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    10-21-2013
    Location
    Japan
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Summing a number

    Hi Vandan,

    Thanx for your help. formula is working. Great !
    is it possible to explain details how is it working. trying to fig out.

    Regards

    SM
    Last edited by shoot for moon; 10-28-2013 at 11:14 AM.

  7. #7
    Registered User
    Join Date
    10-21-2013
    Location
    Japan
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Summing a number

    Hi Vandan,

    Thanx for your help. formula is working. Great !
    is it possible to explain details how is it working. trying to fig out.

    Regards,

    SM
    Last edited by shoot for moon; 10-28-2013 at 11:14 AM.

  8. #8
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Summing a number

    welcome to the forum, AK. Tony Valko did a formula here & i explained it in post #14:
    http://www.excelforum.com/excel-form...ml#post3438268

    just change all the "-" to "/". so it's:
    =SUM(IF(MID("/"&A1,COLUMN(1:1),1)="/",--(MID(A1,COLUMN(1:1),FIND("/",A1&"/",COLUMN(1:1))-COLUMN(1:1)))))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  9. #9
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Summing a number

    array formula
    =SUM(IFERROR(--MID(SUBSTITUTE(A1,"/",REPT(" ",LEN(A1))),(ROW($1:$100)-1)*LEN(A1)+1,LEN(A1)),""))

  10. #10
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Summing a number

    Even more simple, perhaps.

    Assuming the cell in question is A1, then, with B1 the active cell, Go to Name Manager and define a new name, Sum_String say, and enter this in the Refers to: box:

    =EVALUATE(SUBSTITUTE(Sheet1!$A1,"/","+"))

    Exit Name Manager. Then, in B1, enter this formula:

    =Sum_String

    Copy down as required.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  11. #11
    Registered User
    Join Date
    10-21-2013
    Location
    Japan
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Summing a number

    Thanks for details.

+ 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. [SOLVED] Summing number in Text?
    By Cullen8 in forum Excel General
    Replies: 4
    Last Post: 11-16-2012, 03:06 PM
  2. Excel 2007 : Summing up groups of number separately?
    By Tembadau in forum Excel General
    Replies: 3
    Last Post: 02-14-2012, 11:29 AM
  3. Number formatting and summing
    By jlit26 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2011, 06:06 PM
  4. summing the number of MA crosses
    By nitramt in forum Excel General
    Replies: 17
    Last Post: 05-11-2011, 10:27 PM
  5. Summing Number of Worksheets
    By PipHarrison in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2005, 09:54 AM

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