+ Reply to Thread
Results 1 to 4 of 4

Find sum of a range of cells having both numbers and text

  1. #1
    Registered User
    Join Date
    07-07-2015
    Location
    Ajman, UAE
    MS-Off Ver
    Office 2010
    Posts
    4

    Find sum of a range of cells having both numbers and text

    Please tell a solution to find the sum of the attachment.
    Attached Files Attached Files

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Find sum of a range of cells having both numbers and text

    Try this

    =SUMPRODUCT(SUBSTITUTE($F$2:$F$8," GM","")+0)

    But instead of inputting GM as Text in cells, use it as formatting.. Which will display GM, but not affect calculations..

    Select Cells > Ctrl+1 > Custom > 0" GM"
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    06-18-2015
    Location
    Greece
    MS-Off Ver
    2013
    Posts
    13

    Re: Find sum of a range of cells having both numbers and text

    Hi,

    I think, it's more efficient to use numbers instead of text. In excel is possible to create custom number formats. So, the "20 GM" can be number.
    I attached the Book after changing the text cells to numbers.
    You can do it by finding and replacing all " GM" with an empty string. Then right click in the cells -> Format Cells -> Number tab -> Custom -> #.##0" GM"

    Book1_.xlsx
    Last edited by theoxskyl; 07-20-2015 at 02:17 AM.

  4. #4
    Valued Forum Contributor
    Join Date
    05-11-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    586

    Re: Find sum of a range of cells having both numbers and text

    Hi Farooque TM,

    Here's another way - see attached.

    Regards

    peterrc
    Attached Files Attached Files

+ 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. Find and count specific numbers in a range of cells
    By aslante in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-06-2015, 04:35 AM
  2. Find lowest value from 4 numbers in various cells and return text
    By mheinmiller in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-27-2014, 05:32 AM
  3. Replies: 2
    Last Post: 09-07-2013, 07:50 PM
  4. Find text in range of cells and add to table if it does not exist in range
    By dgadler1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-12-2013, 12:54 PM
  5. Replies: 11
    Last Post: 12-10-2012, 10:40 AM
  6. [SOLVED] Formula to find lowest 2 numbers from range of cells
    By jndipworm in forum Excel General
    Replies: 3
    Last Post: 07-20-2012, 10:36 AM
  7. Find, return string address in a range of cells with numbers and text
    By Vera22 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-09-2007, 08:37 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