+ Reply to Thread
Results 1 to 14 of 14

How to compare different solutions brands and extract specific ones?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-07-2020
    Location
    Paris
    MS-Off Ver
    Microsoft office 365
    Posts
    236

    How to compare different solutions brands and extract specific ones?

    Hi to the community,

    I'm working on the file "Extraction".

    I would like to compare the sheet "Feuil 1" and "Feuil 2". After the comparison, I would like to extract the solutions from the sheet "Feuil 2" that are not established in the sheet "Feuil 1".

    In the sheet "Feuil1", the solution's name are located in column A.
    In the sheet "Feuil 2", the solution's name are located at the beginning of each sentence, fo example, in the cell G2 "Coupa vs Basware: AP Automation head-to-head technology evaluation and comparison

    Thank you a lot for your help and investment for others
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to compare different solutions brands and extract specific ones?

    I've read this a couple of times and do not understand you at all.

    What doe you expect to see?

    Where do you expect to see it?

    Please amend your sample to show at least some expected answers.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    11-07-2020
    Location
    Paris
    MS-Off Ver
    Microsoft office 365
    Posts
    236

    Re: How to compare different solutions brands and extract specific ones?

    I would carry out a specific analysis by comparing the solution located in cell ranges indicated in 'Sheet2' (G2:CN2, G3:CS3, G4:N4, G5:CJ5) with range A2:A174 in 'Sheet1'. I would like to compare the values to identify which solutions are present in 'Sheet2' and not in 'Sheet1'.

    Fo example,
    in the sheet "Feuil2" for the cell G2, I find "Coupa"
    in the sheet "Feuil1" for the range cell A2:174, I find also "Coupa".

    So, "Coupa" is not a solution I want identify.

    I would like to see the "unique solutions" in the same document in an another sheet in the form of a vertical list.
    Last edited by Luu4466; 03-04-2024 at 09:35 AM.

  4. #4
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,722

    Re: How to compare different solutions brands and extract specific ones?

    Please provide an updated workbook with some expected results manually mocked up.
    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.

  5. #5
    Forum Contributor
    Join Date
    11-07-2020
    Location
    Paris
    MS-Off Ver
    Microsoft office 365
    Posts
    236

    Re: How to compare different solutions brands and extract specific ones?

    Ok AliGW and Glenn Kennedy. I share you the updated workbook with expected results in the file "Extraction v0.2".
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,921

    Re: How to compare different solutions brands and extract specific ones?

    A guess,
    =LET(
      a,DROP(REDUCE(0,Feuil2!G2:CS10,LAMBDA(x,y,VSTACK(x,IF(ISNUMBER(SEARCH(":",y)),TEXTBEFORE(y,":"),"")))),1),
      b,MAP(a,LAMBDA(x,IF(SUM(--ISNUMBER(SEARCH(Feuil1!A2:A174,x)))>0,"",x))),
      c,UNIQUE(FILTER(b,b<>"")),
      HSTACK(SEQUENCE(ROWS(c)),c)
    )
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: How to compare different solutions brands and extract specific ones?

    windknife, those ones seems to be missing in your list.

    Coupa vs. SAP Ariba
    Dhatim Conciliator
    Ivalua vs. SAP Ariba
    Jaggaer vs SAP Ariba
    Oracle Procurement Contracts Cloud
    Oracle vs. Coupa
    Statess (State of Flux)
    Tipalti's Payment Capability

  8. #8
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: How to compare different solutions brands and extract specific ones?

    Another eventual solution.

    Formula: copy to clipboard
    =LET(a,SORT(UNIQUE(TOCOL(TEXTBEFORE(Feuil2!G2:CS5,":",,,,""),1))),af,FILTER(a,a<>"",""),
    p,XLOOKUP(TSolution[Nom solution],af,af,""),
    b,FILTER(p,p<>"",""),
    flist,FILTER(af,ISERROR(XMATCH(af,b))),
    HSTACK(SEQUENCE(COUNTA(flist)),flist))
    Attached Files Attached Files
    Last edited by DJunqueira; 03-04-2024 at 12:01 PM.

  9. #9
    Forum Contributor
    Join Date
    11-07-2020
    Location
    Paris
    MS-Off Ver
    Microsoft office 365
    Posts
    236

    Re: How to compare different solutions brands and extract specific ones?

    DJunqueira, windknife.

    When I use your formulas, they don't work because my solution data doesn't have the right character formalism.

    I need to work on the harmonization of the data. For example, SIEVO in the sheet "Feuil 1" need to be Sievo.

    I work this on my side and I will apply your formulas after this "cleaning".

  10. #10
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: How to compare different solutions brands and extract specific ones?

    Capital letter doesn't seems to be the problem, but misspelling does.

    Apexanalytics X APEX Analytix

  11. #11
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,921

    Re: How to compare different solutions brands and extract specific ones?

    Another try,

    =LET(
     a,DROP(REDUCE(0,Feuil2!G2:CS10,LAMBDA(x,y,VSTACK(x,IF(ISNUMBER(SEARCH(":",y)),TEXTBEFORE(y,":"),"")))),1),
      b,MAP(a,LAMBDA(x,IF(SUM(--(UPPER(Feuil1!A2:A174)=UPPER(x)))>0,"",x))),
      c,UNIQUE(FILTER(b,b<>"")),
      HSTACK(SEQUENCE(ROWS(c)),c)
    )
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: How to compare different solutions brands and extract specific ones?

    With PQ.
    This time I made sure the capital letters were the same.

    Formula: copy to clipboard
    let
    Fonte = Excel.CurrentWorkbook(){[Name="Tabela2"]}[Content],
    #"Tipo Alterado" = Table.TransformColumnTypes(Fonte,{{"Module", type text}, {"Company", type text}, {"Series", type text}, {"Modules", type text}, {"Topics", type text}, {"Results", type text}, {"Result 1 analysed", type text}, {"Result 2 analysed", type text}, {"Result 3 analysed", type text}, {"Result 4 analysed", type text}, {"Result 5 analysed", type text}, {"Result 6 analysed", type text}, {"Result 7 analysed", type text}, {"Result 8 analysed", type text}, {"Result 9 analysed", type text}, {"Result 10 analysed", type text}, {"Result 11 analysed", type text}, {"Result 12 analysed", type text}, {"Result 13 analysed", type text}, {"Result 14 analysed", type text}, {"Result 15 analysed", type text}, {"Result 16 analysed", type text}, {"Result 17 analysed", type text}, {"Result 18 analysed", type text}, {"Result 19 analysed", type text}, {"Result 20 analysed", type text}, {"Result 21 analysed", type text}, {"Result 22 analysed", type text}, {"Result 23 analysed", type text}, {"Result 24 analysed", type text}, {"Result 25 analysed", type text}, {"Result 26 analysed", type text}, {"Result 27 analysed", type text}, {"Result 28 analysed", type text}, {"Result 29 analysed", type text}, {"Result 30 analysed", type text}, {"Result 31 analysed", type text}, {"Result 32 analysed", type text}, {"Result 33 analysed", type text}, {"Result 34 analysed", type text}, {"Result 35 analysed", type text}, {"Result 36 analysed", type text}, {"Result 37 analysed", type text}, {"Result 38 analysed", type text}, {"Result 39 analysed", type text}, {"Result 40 analysed", type text}, {"Result 41 analysed", type text}, {"Result 42 analysed", type text}, {"Result 43 analysed", type text}, {"Result 44 analysed", type text}, {"Result 45 analysed", type text}, {"Result 46 analysed", type text}, {"Result 47 analysed", type text}, {"Result 48 analysed", type text}, {"Result 49 analysed", type text}, {"Result 50 analysed", type text}, {"Result 51 analysed", type text}, {"Result 52 analysed", type text}, {"Result 53 analysed", type text}, {"Result 54 analysed", type text}, {"Result 55 analysed", type text}, {"Result 56 analysed", type text}, {"Result 57 analysed", type text}, {"Result 58 analysed", type text}, {"Result 59 analysed", type text}, {"Result 60 analysed", type text}, {"Result 61 analysed", type text}, {"Result 62 analysed", type text}, {"Result 63 analysed", type text}, {"Result 64 analysed", type text}, {"Result 65 analysed", type text}, {"Result 66 analysed", type text}, {"Result 67 analysed", type text}, {"Result 68 analysed", type text}, {"Result 69 analysed", type text}, {"Result 70 analysed", type text}, {"Result 71 analysed", type text}, {"Result 72 analysed", type text}, {"Result 73 analysed", type text}, {"Result 74 analysed", type text}, {"Result 75 analysed", type text}, {"Result 76 analysed", type text}, {"Result 77 analysed", type text}, {"Result 78 analysed", type text}, {"Result 79 analysed", type text}, {"Result 80 analysed", type text}, {"Result 81 analysed", type text}, {"Result 82 analysed", type text}, {"Result 83 analysed", type text}, {"Result 84 analysed", type text}, {"Result 85 analysed", type text}, {"Result 86 analysed", type text}, {"Result 87 analysed", type text}, {"Result 88 analysed", type text}, {"Result 89 analysed", type text}, {"Result 90 analysed", type text}, {"Result 91 analysed", type text}}),
    #"Colunas Não Dinâmicas" = Table.UnpivotOtherColumns(#"Tipo Alterado", {"Module", "Company", "Series", "Modules", "Topics", "Results"}, "Atributo", "Valor"),
    #"Outras Colunas Removidas" = Table.SelectColumns(#"Colunas Não Dinâmicas",{"Atributo", "Valor"}),
    #"Dividir Coluna por Delimitador" = Table.SplitColumn(#"Outras Colunas Removidas", "Valor", Splitter.SplitTextByEachDelimiter({":"}, QuoteStyle.Csv, false), {"Valor.1", "Valor.2"}),
    #"Tipo Alterado1" = Table.TransformColumnTypes(#"Dividir Coluna por Delimitador",{{"Valor.1", type text}, {"Valor.2", type text}}),
    #"Outras Colunas Removidas1" = Table.SelectColumns(#"Tipo Alterado1",{"Valor.1"}),
    #"Duplicatas Removidas" = Table.Distinct(#"Outras Colunas Removidas1"),
    #"Linhas Classificadas" = Table.Sort(#"Duplicatas Removidas",{{"Valor.1", Order.Ascending}}),
    #"Coluna Duplicada" = Table.DuplicateColumn(#"Linhas Classificadas", "Valor.1", "Valor.1 - Copiar"),
    #"Colocar Cada Palavra Em Maiúscula" = Table.TransformColumns(#"Coluna Duplicada",{{"Valor.1 - Copiar", Text.Proper, type text}}),
    #"Consultas Mescladas" = Table.NestedJoin(#"Colocar Cada Palavra Em Maiúscula", {"Valor.1 - Copiar"}, TSolution, {"Nom solution - Copiar"}, "TSolution", JoinKind.LeftOuter),
    #"TSolution Expandido" = Table.ExpandTableColumn(#"Consultas Mescladas", "TSolution", {"Nom solution", "Nom solution - Copiar"}, {"Nom solution", "Nom solution - Copiar"}),
    #"Linhas Filtradas" = Table.SelectRows(#"TSolution Expandido", each ([Nom solution] = null)),
    #"Outras Colunas Removidas2" = Table.SelectColumns(#"Linhas Filtradas",{"Valor.1"}),
    #"Índice Adicionado" = Table.AddIndexColumn(#"Outras Colunas Removidas2", "Índice", 1, 1, Int64.Type),
    #"Colunas Reordenadas" = Table.ReorderColumns(#"Índice Adicionado",{"Índice", "Valor.1"}),
    #"Colunas Renomeadas" = Table.RenameColumns(#"Colunas Reordenadas",{{"Valor.1", "Unique solutions"}})
    in
    #"Colunas Renomeadas"
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    11-07-2020
    Location
    Paris
    MS-Off Ver
    Microsoft office 365
    Posts
    236

    Re: How to compare different solutions brands and extract specific ones?

    Thank you DJunqueira. It's working. Fun naming for the tab "Feuil PQ" In French, that means toilet paper.

  14. #14
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: How to compare different solutions brands and extract specific ones?


    This mess with language is very funny.

+ 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. Certain brands for customers
    By Roydemooij in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-28-2022, 04:42 AM
  2. How extract brands from text?
    By dev_ed in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-27-2022, 04:48 PM
  3. Selective brands for customers
    By Roydemooij in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-27-2022, 05:37 AM
  4. [SOLVED] collect similar brands
    By KingTamo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-12-2022, 09:30 AM
  5. [SOLVED] not distributed brands
    By makinmomb in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 02-09-2016, 04:23 PM
  6. Replies: 3
    Last Post: 09-15-2013, 03:12 PM
  7. compare and copy data-Anyone has any solutions?
    By benj in forum Excel General
    Replies: 0
    Last Post: 02-08-2005, 07:53 AM

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