1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

    Yours,
    Chandoo
  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Approximate text in cell to sum up

Discussion in 'Ask an Excel Question' started by shili12, Dec 6, 2017 at 7:20 PM.

  1. shili12

    shili12 New Member

    Messages:
    18
    Objective: I have fuzzy logic in my excel but it compares 2 columns , but i have inexact data in debtors list, (rules of prevention of database duplication were not followed), is there a way a macro or a combination in fuzzy logic that i can have these results :-
    SOLUTION:
    X insurance Ltd:
    5800-480+4700-950=$9070.00
    Y Enterprises: 8900+950=$9850.00

    Attached Files:

  2. vletm

    vletm Well-Known Member

    Messages:
    2,888
    shili12
    This could be one possible...

    Attached Files:

  3. Hui

    Hui Excel Ninja Staff Member

    Messages:
    10,828
    =SUMPRODUCT((LEFT(A2:A7,5)="X Ins")*(B2:B7)) = 9070
    =SUMPRODUCT((LEFT(A2:A7,5)="Y Ent")*(B2:B7)) = 9850
    sathishsusa and shili12 like this.
  4. bosco_yip

    bosco_yip Excel Ninja

    Messages:
    1,337
    Similar to Hui's formula :

    =SUMIF(A:A,"X*",B:B) =9070

    =SUMIF(A:A,"Y*",B:B) =9850

    Regards
    Bosco

Share This Page