Results 1 to 4 of 4

Summing wildcard matches while subtracting wildcard matches of the previous rows

Threaded View

  1. #1
    Registered User
    Join Date
    01-23-2020
    Location
    USA
    MS-Off Ver
    365 Pro Plus
    Posts
    5

    Summing wildcard matches while subtracting wildcard matches of the previous rows

    Hello and thanks in advance for the help!

    I have a column of cells each consisting of a list of substrings separated by a comma. next to this column is another column with numerical values. Example:

    A | B
    a,b | 3
    a,d | 15
    c,d,b | 2
    a,b,c | 8
    c,a | 6
    d | 9
    b | 11
    a | 4
    a | 2
    c,a,b | 1
    a,d | 7
    b,c | 4
    c,d | 6


    The substrings in col A are ranked:
    1 a
    2 b
    3 c
    4 d

    Now, i need to sum column B for each of the 4 substrings, but making sure not to count the cells where it appeared alongside a higher ranked substring. I already have a formula that counts the instances of each substring when not appearing with a higher ranked substring (column E in example file) using this formula: {=SUM(N(MMULT(1-ISERR(FIND(TRANSPOSE(D$1:D2),A$1:A$13)),2^ROW(D$1:D2))=2^ROWS(D$1:D2)))}. In column F of the example file, I show what the results would look like for what I'm looking for.

    Would appreciate some help on how to solve this.

    Example spreadsheet attached

    Thanks
    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. [SOLVED] VLOOKUP wildcard with Decimal Matches or Alternative Method
    By Muratcan in forum Excel General
    Replies: 11
    Last Post: 10-16-2020, 03:14 AM
  2. [SOLVED] Counting wildcard matches while subtracting wildcard matches of the previous rows
    By Alzabo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-24-2020, 02:40 PM
  3. [SOLVED] Asterisk (Wildcard) causing false matches
    By bel99004 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-17-2016, 05:44 PM
  4. Highlight rows that matches the wildcard string
    By Nett in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-20-2016, 06:27 PM
  5. Replies: 2
    Last Post: 09-12-2015, 11:02 AM
  6. [SOLVED] Summing the matches of one column only if its corresponding description matches a list
    By bishop-jese-erl in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-19-2015, 04:26 PM
  7. How do I match a wildcard and print multiple matches per cell horizontally?
    By snowdroog in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-13-2013, 08:13 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