Results 1 to 3 of 3

Thread: How To Add Numbers Having Beginning And Ending Trailing Space

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Aug 2013
    Posts
    19
    Rep Power
    0

    How To Add Numbers Having Beginning And Ending Trailing Space

    Hi All,

    I have numeric data with beginning space, also the format of same is not calculating sum. (If beginning space removed manfully still it will not show as number style / format)

    Right now I using formula =SUBSTITUTE (target cell,CHAR(160)," ")+0 , if there is any code to this work easier.

    The sample of same is attached herewith for your reference

    Thanks in advance

    Regards

    Amar K
    Attached Files Attached Files

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    Use this =SUMPRODUCT(--SUBSTITUTE(B2:B40,CHAR(160),0))
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  3. #3
    Junior Member
    Join Date
    Aug 2013
    Posts
    19
    Rep Power
    0
    Thanks Sir,

    Thanks for your prompt reply, formula are working perfect.

    But interval of I received files at my end is very high, so it will very help full to me to run by any codes.

    Thanks for your valuable information and knowledge sharing

    Regards

    Amar K

Similar Threads

  1. Replies: 2
    Last Post: 07-18-2013, 03:34 AM
  2. Replies: 9
    Last Post: 05-22-2013, 09:12 PM
  3. Macro To Delete Numbers With Trailing Character
    By Howardc in forum Excel Help
    Replies: 8
    Last Post: 04-05-2013, 08:14 PM
  4. Macro to delete trailing X's
    By Howardc in forum Excel Help
    Replies: 2
    Last Post: 03-29-2013, 12:43 PM
  5. Available Drive Space / Used Space
    By JimHol in forum Excel Help
    Replies: 2
    Last Post: 12-28-2012, 06:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •