+ Reply to Thread
Results 1 to 7 of 7

Sum range of numbers within a range of cells separated by multiple /'s

  1. #1
    Registered User
    Join Date
    03-05-2014
    Location
    Wisconsin, USA
    MS-Off Ver
    2007,2010
    Posts
    6

    Sum range of numbers within a range of cells separated by multiple /'s

    Hello, A few months ago I was assisted with this issue "Sum range of numbers within a range of cells separated by /". I was wondering if this can be expanded to add another set of numbers separated by another /? I know adding a column would be a great solution, but this data is part of a larger table and I need to maintain the structure if at all possible.
    Basically, sum both column and row with data formatted like this 2/2/1
    Here is the current formula that hemesh previously provided and works great for data with only one /. i.e. (2/1) (Thanks again hemesh! ):

    Please Login or Register  to view this content.
    I have attached the file Helpbook3.xlsx and highlighted the cells I would like to revise the formulas in.

    Cell B49's formula currently results in 7/5. I would like it to result in 7/7/5. And I44 would = 33/32/24

    Thank you in advance, any assistance is greatly appreciated.

    Regards,
    Squidlo

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Sum range of numbers within a range of cells separated by multiple /'s

    Where are you getting these numbers from?

    I encourage you to store numbers as numbers instead of as bits inside text strings, especially when "12/12/8" is going to implicitly be a date instead of... whatever you are doing.

    "One-and-only-one value per cell" is a good rule.

    I think you'll be better off fixing your data model (and fixing what you have with text to columns) instead of trying to work around the existing problems.

  3. #3
    Registered User
    Join Date
    03-05-2014
    Location
    Wisconsin, USA
    MS-Off Ver
    2007,2010
    Posts
    6

    Re: Sum range of numbers within a range of cells separated by multiple /'s

    Hi Ben, Thank you for your response. I hear what you are saying, and I have tried expressing the same the higher ups at my company. Unfortunately, they want the all the different data types to fit nice and pretty in each section.

    Currently the data is collected for each division by month. This section deals with CQFI's Received (1st number)/ Accepted (2nd number)/ and Closed (3rd number). All the other sections not shown in the helpbook have only one value per cell. They want to be able to view the data as it is listed. We could simply update the text manually, but some people can't add very well as that is how I came to searching for a formula in the first place. It was all working great until someone had the idea of adding Closed to the monthly list.

  4. #4
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Sum range of numbers within a range of cells separated by multiple /'s

    Guh, okay, we'll use SEARCH like fifty times, then.

    In cell I37, insert this array formula:
    Please Login or Register  to view this content.
    EDIT:
    Wait, I messed up the error handling on the third term, it should be good now.
    Last edited by ben_hensel; 09-10-2014 at 09:33 AM.

  5. #5
    Registered User
    Join Date
    03-05-2014
    Location
    Wisconsin, USA
    MS-Off Ver
    2007,2010
    Posts
    6

    Re: Sum range of numbers within a range of cells separated by multiple /'s

    Thanks Ben, I really appreciate your efforts.

    I inserted the array formula into cell I38 and it started out great with the exception of the rows with incomplete data (only the last data set is displayed "/12"). But then I populated row I45 and it omits the middle number. Not sure what is different. Helpbook4.xlsx

    Is it possible to have the running total when some of the cells are blank? Not all facilities promptly update their data and I would also like to apply the formula to the column totals which are monthly.

    Thanks again Ben,

  6. #6
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Sum range of numbers within a range of cells separated by multiple /'s

    Okay, here's another comically long array formula to go in I37:

    Please Login or Register  to view this content.
    This will default to displaying "0/0/0" as the output.

  7. #7
    Registered User
    Join Date
    03-05-2014
    Location
    Wisconsin, USA
    MS-Off Ver
    2007,2010
    Posts
    6

    Re: Sum range of numbers within a range of cells separated by multiple /'s

    That works great! Thanks for humoring myself and my coworkers.

+ 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. [SOLVED] Sum range of numbers within a range of cells separated by /
    By Squidlo in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 03-06-2014, 02:27 PM
  2. Find the smallest number in a range of cells that are separated by boarder
    By svetlich in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-08-2012, 03:58 AM
  3. Convert range of cells to comma separated list
    By maw230 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-23-2012, 06:03 PM
  4. Extracting numbers from multiple cells in a range
    By flying_rock27 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-10-2010, 04:40 AM
  5. [SOLVED] Count comma separated numbers, numbers in a range with dash, not t
    By Mahendra in forum Excel General
    Replies: 0
    Last Post: 08-08-2005, 01:05 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