+ Reply to Thread
Results 1 to 8 of 8

Trying to sum numbers for mixed cells

  1. #1
    Registered User
    Join Date
    12-13-2020
    Location
    Israel
    MS-Off Ver
    Microsoft Office Pro Plus 2019
    Posts
    4

    Trying to sum numbers for mixed cells

    Hey everyone,
    I'm probably posting a question that's been answered, but I haven't been able to an answer. I'm relatively new to Excel so I might be missing the proper keywords to find it.
    Paired Comparison.png
    I'm using a Paired Comparison Analysis chart to compare parameters. The idea is to use a combination of a character and a number in order to rank the weight of each parameter.
    What I'm trying to do is to sum the numbers based on the character equivalent. That would mean that any number attached to an "A" would be added the the "A" counter, and so on for the rest of the letters.
    For example, from my posted picture we would get:
    "A" counter = 2
    "B" counter = 3
    "C" counter = 7
    ...

    I've tried a combination of LEFT/RIGHT to isolate the numbers from the characeters,
    SEARCH to determine which character is in which cell,
    and ISNUMBER for boolean operations.
    Without much success.
    Can anyone point me in the direction of a useful formula for this? OR have I just missed the obvious with the formulae I've been using?
    Attached Files Attached Files
    Last edited by GreenBee; 12-13-2020 at 03:31 AM. Reason: Added the worksheet

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,640

    Re: Trying to sum numbers for mixed cells

    Administrative note

    Welcome to the forum

    in your haste to solve your problem, you probably missed the yellow banner advising how to get answers faster by posting a sheet ?

    Please take a moment to read it and attach a sheet accordingly.

    Thanks you for helping us help you

  3. #3
    Registered User
    Join Date
    12-13-2020
    Location
    Israel
    MS-Off Ver
    Microsoft Office Pro Plus 2019
    Posts
    4

    Re: Trying to sum numbers for mixed cells

    Right, I'm very sorry that I didn't take the time to properly read the banner.
    I've edited the post to attach the worksheet with some manually calculated results.

  4. #4
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: Trying to sum numbers for mixed cells

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

  5. #5
    Registered User
    Join Date
    12-13-2020
    Location
    Israel
    MS-Off Ver
    Microsoft Office Pro Plus 2019
    Posts
    4

    Re: Trying to sum numbers for mixed cells

    Thanks Shareez for the quick reply!
    This looks great, I'll puzzle out the formulae you've used.
    However, is seems to work for columns without regard for the actual letter attached to the number.
    Can you think of a way to:
    1 - Differentiate counters for different letter
    2 - Make it work for the entire table, not just one column?

    Thanks

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,800

    Re: Trying to sum numbers for mixed cells

    In C11 copied down:

    =SUM(IF(LEFT($C$3:$I$9,1)=RIGHT(A11,1),VALUE(MID($C$3:$I$9,2,99))))

    You may need to enter the formula with CTRL+SHIFT+ENTER.

    Please update your forum profile - 10 is not a valid version of Office. What are you using?
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    12-13-2020
    Location
    Israel
    MS-Off Ver
    Microsoft Office Pro Plus 2019
    Posts
    4

    Re: Trying to sum numbers for mixed cells

    Thanks, Ali - this is exacly what I was trying to do!
    I'm update my profile now.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,800

    Re: Trying to sum numbers for mixed cells

    Thanks.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Replies: 4
    Last Post: 10-20-2020, 04:15 PM
  2. [SOLVED] Sorting Mixed Text and Numbers
    By snapfade in forum Excel General
    Replies: 15
    Last Post: 08-29-2019, 01:23 PM
  3. Extract Text and numbers from mixed cells
    By Crawfy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-25-2017, 05:36 AM
  4. Replies: 5
    Last Post: 06-10-2014, 01:13 PM
  5. Summation of cells with mixed numbers & text
    By HTWingNut in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-31-2007, 10:31 AM
  6. [SOLVED] Sort mixed numbers/letters
    By V-ger in forum Excel General
    Replies: 1
    Last Post: 11-14-2005, 06:55 PM
  7. Replies: 2
    Last Post: 08-23-2005, 03:49 AM

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