Results 1 to 4 of 4

Extracting numbers from text in cell range and summing them up using SUMPRODUCT

Threaded View

  1. #1
    Registered User
    Join Date
    04-14-2017
    Location
    Brno
    MS-Off Ver
    2013
    Posts
    2

    Extracting numbers from text in cell range and summing them up using SUMPRODUCT

    Hello,

    I'm trying to extract hours of education (i.e., 4.58, 2 and 3.5) from cells A2:A6 and add them up in one formula using SUMPRODUCT. I'd like to do all this in one cell only. If I use a helper column B then simple SUM or SUMPRODUCT are straightforward, giving a correct total of 10.08 hours in cell E1. However, if I omit the helper column B, I end up with just 4.58 hours (cell E2). For the life of me, I've not been able to determine how to incorporate the range A2:A6 into the SUMPRODUCT formula in E2 (see below).

    =SUMPRODUCT(--(IFERROR(MID(A2:A6,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2:A6&"0123456789")),LEN(A2:A6)-MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2:A6&"0123456789"))),0)))
    Please see attached spreadsheet.

    Any advice on how to resolve this is more than welcome.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Extracting numbers from cell with text
    By nomnomnumbers in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2016, 08:47 AM
  2. Extracting date range (Start and end dates) from text within a cell
    By pcarignan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-26-2016, 04:20 PM
  3. Extracting text within a Cell range based on conditions.
    By Danielc1234 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-23-2016, 08:09 PM
  4. Extracting Numbers From Text Range And Sorting Numerically
    By jon87 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-29-2012, 10:15 AM
  5. Replies: 17
    Last Post: 03-03-2010, 06:55 PM
  6. Summing a range of numbers in a list of numbers
    By gemnnsw in forum Excel General
    Replies: 3
    Last Post: 02-03-2008, 12:58 PM
  7. [SOLVED] Sumproduct not working when summing values between two numbers
    By FlamencoKid in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-13-2005, 01:05 PM

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