+ Reply to Thread
Results 1 to 5 of 5

Adding cells that contain numbers and text

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    Park Hills
    MS-Off Ver
    Excel 2007
    Posts
    2

    Adding cells that contain numbers and text

    I am trying to add cells together that contain text as well as numbers. For example. Cell d8 has 310 mins, d9 has 30 mins, d10 has 10 mins. I want to get the sum plus have the mins after it. How do I do that? Any help would be appreciated.

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

    Re: Adding cells that contain numbers and text

    hi Pippy34. welcome to the forum. the best way is not to write as text. right-click D8:D10 & format cells -> Custom Format:
    #" mins"
    you can now type in just numbers in those cells & "mins" will show up. adding them would be easier now

    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

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

    Re: Adding cells that contain numbers and text

    =SUMPRODUCT(VALUE(LEFT(D8:D10,FIND(" mins",D8:D10)))) & " mins"
    Regards,
    Vandan

  4. #4
    Registered User
    Join Date
    10-12-2012
    Location
    Park Hills
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Adding cells that contain numbers and text

    Thank you so much! That worked out perfect

  5. #5
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Adding cells that contain numbers and text

    Hi Pippy34

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


    It is a ARRAY Formula. CTRL + SHIFT + ENTER

+ 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