+ Reply to Thread
Results 1 to 9 of 9

cell containing both text and number. how to total number alone?

  1. #1
    Registered User
    Join Date
    01-19-2012
    Location
    Vellore India
    MS-Off Ver
    Excel 2007
    Posts
    14

    cell containing both text and number. how to total number alone?

    Respected sir,
    at column [B] cells contains both text and a number. There are about 100 rows. Is it possible only to sum the number omiting the text? if sum and plus sign is added "#value" is flashed. if sum and comma is used, value "0" is returned.
    thanking you,
    yours faithfully
    preventhospitalvisit

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: cell containing both text and number. how to total number alone?

    if you upload an example it will be easier to see how is the best way to do it.
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  3. #3
    Forum Moderator Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,745

    Re: cell containing both text and number. how to total number alone?

    Hi

    How are these? First text and then numbers? TEXT125, OR 125TEXT??
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

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

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,669

    Re: cell containing both text and number. how to total number alone?

    Hi try this user-defined function. it will only pick up whole numbers, not numbers with decimals. Let me know if you need to add code to pick up partial numbers

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-19-2012
    Location
    Vellore India
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: cell containing both text and number. how to total number alone?

    respected sir, this is text125
    thanks for the interest

  6. #6
    Registered User
    Join Date
    01-19-2012
    Location
    Vellore India
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: cell containing both text and number. how to total number alone?

    respected twiggywales, I like people who add the name of their place of living.
    coloumn a: record number
    Coloumn b name and weight in kg
    eg 1. Vignesh 32 kg
    2. John 34 kg
    3. sheila 33 kg My question is without adding additional coloumn is it possible to average b1 to b3
    thanking you
    yours faithfully
    preventhospitalvisit

  7. #7
    Forum Guru
    Join Date
    05-24-2011
    Location
    Kuwait
    MS-Off Ver
    2010
    Posts
    2,165

    Re: cell containing both text and number. how to total number alone?

    A sample file is always helpful.. Anyway try this with CTRL+SHIFT+ENTER

    Please Login or Register  to view this content.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  8. #8
    Registered User
    Join Date
    01-19-2012
    Location
    Vellore India
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: cell containing both text and number. how to total number alone?

    dear haseeb,
    thanks for valuble suggestions. I will do the same in future.
    with regards
    arulalan

  9. #9
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: cell containing both text and number. how to total number alone?

    this would also do it (set for 1000 cells) again entered with CTRL+SHIFT+ENTER

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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