+ Reply to Thread
Results 1 to 3 of 3

Adding Formatted Fractions

Hybrid View

Darko_Giac Adding Formatted Fractions 11-29-2018, 05:04 PM
Bo_Ry Re: Adding Formatted Fractions 11-30-2018, 12:21 AM
Darko_Giac Re: Adding Formatted Fractions 11-30-2018, 09:38 AM
  1. #1
    Forum Contributor
    Join Date
    10-09-2015
    Location
    Canada
    MS-Off Ver
    Office Home and Student 2021 for Mac
    Posts
    170

    Adding Formatted Fractions

    Hi all,

    I'm having some issues adding fractions in a way that will add the numerator as well as the denominator from 2 subtotal columns.

    Attached is my workbook which will hopefully make the issue slightly clearer.

    Darko
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Adding Formatted Fractions

    Please try at J2 result 3/174

    =SUMPRODUCT(--LEFT(A2:I2,FIND("/",A2:I2)-1))&"/"&SUMPRODUCT(--RIGHT(A2:I2,LEN(A2:I2)-FIND("/",A2:I2)))

    or result 2/174

    =SUMPRODUCT(LEFT(A2:I2,FIND("/",A2:I2)-1)*(LEFT(A1:I1,3)<>"Sub"))&"/"&SUMPRODUCT(--RIGHT(A2:I2,LEN(A2:I2)-FIND("/",A2:I2)))

  3. #3
    Forum Contributor
    Join Date
    10-09-2015
    Location
    Canada
    MS-Off Ver
    Office Home and Student 2021 for Mac
    Posts
    170

    Re: Adding Formatted Fractions

    Quote Originally Posted by Bo_Ry View Post
    Please try at J2 result 3/174

    =SUMPRODUCT(--LEFT(A2:I2,FIND("/",A2:I2)-1))&"/"&SUMPRODUCT(--RIGHT(A2:I2,LEN(A2:I2)-FIND("/",A2:I2)))

    or result 2/174

    =SUMPRODUCT(LEFT(A2:I2,FIND("/",A2:I2)-1)*(LEFT(A1:I1,3)<>"Sub"))&"/"&SUMPRODUCT(--RIGHT(A2:I2,LEN(A2:I2)-FIND("/",A2:I2)))
    Thank you so much Bo. Worked like a charm!

+ 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. Adding fractions in Excel 2007
    By sonia khurana in forum Excel General
    Replies: 5
    Last Post: 06-22-2015, 02:04 AM
  2. Replies: 2
    Last Post: 09-10-2014, 08:56 AM
  3. Adding fractions in excel
    By mcb87 in forum Excel General
    Replies: 4
    Last Post: 06-11-2010, 12:16 PM
  4. Adding values of formatted cells
    By jenmarie in forum Access Tables & Databases
    Replies: 4
    Last Post: 02-03-2010, 04:09 PM
  5. Need help adding formatted textboxes
    By Terry K in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-04-2006, 11:25 AM
  6. Converting Decimal Fractions to Fractions of a Specified Number
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-29-2005, 11:09 AM
  7. [SOLVED] Adding formatted cells to an outline ?
    By Glenn in forum Excel General
    Replies: 4
    Last Post: 01-11-2005, 01:06 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