+ Reply to Thread
Results 1 to 6 of 6

sum only right part (number part) of the cells

  1. #1
    Registered User
    Join Date
    01-28-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    5

    sum only right part (number part) of the cells

    Hi
    please could anyone tell me how to sum only right part of the cell (which always will be one or two digits number ) along one row but many columns

    B4 C4 D4
    Fri 02/01/2015 , 5 Thu 01/01/2015 , 12 Sat 05/01/2015 , 3



    thanks
    Jo

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: sum only right part (number part) of the cells

    based on the example try this.
    Confirmed with ctrl+shift+enter (not just enter)

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

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: sum only right part (number part) of the cells

    Is there ALWAYS a space between the comma and the number?

    Try
    =SUMPRODUCT(RIGHT(0&B4:D4,2)+0)

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: sum only right part (number part) of the cells

    Note: if you have entered only date (or any other number that you don't want to SUM) you'll get a wrong result.
    Rather put some text at the end to avoid that.

  5. #5
    Registered User
    Join Date
    01-28-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    5

    Re: sum only right part (number part) of the cells

    Thanks so much, both options work.
    I tried SUMPRODUCT but obviously did it wrong.
    I will be a frequent guest of this forum, I got problems all the time

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: sum only right part (number part) of the cells

    You're welcome.

+ 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. Help returning part number 1 time and adding up like part number QTY
    By SOLERSA in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-16-2014, 06:31 AM
  2. Nested IF statement validating part 1 but not part 2 of conditional
    By methuselah90 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2014, 02:39 PM
  3. [SOLVED] Generate a part number using parts of other cells
    By muddbog in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-07-2014, 03:58 PM
  4. 2 part piece here. One part counter of up and down, fill in of blank cells.
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2012, 10:09 PM
  5. Find Part number through Macro and output to associated part to certain cell
    By boylers75 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2012, 04:32 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