Forum Discussion

Matt_Hicks's avatar
Matt_Hicks
Copper Contributor
Feb 04, 2023

Index Match duplicate return

Hi Guys,

 

i have trawled the internet to get this working to no luck, i am a novice at this.

 

I want to create a leader board excel which i am going use in multiple ways for work.

 

i have managed to get an index match to return most of what i need it to, but i want to avoid duplicate return names.

 

where am i going wrong, please can someone help me?   

 

Thank you in advance

 

  • Matt_Hicks 

    A not so helpful solution might be to ditch whatever version of Excel you currently us and switch to 365.  Then the formula could be

    = SORTBY(HSTACK(name,total),total,-1)
    • Matt_Hicks's avatar
      Matt_Hicks
      Copper Contributor

      PeterBartholomew1 

       

      I cant seem to get this to give me any results, just #spill!

       

      I should also explain i have another formula to create the leader board aswell.

       

      i have a feeling i have over complicated this

       

      • PeterBartholomew1's avatar
        PeterBartholomew1
        Silver Contributor

        Matt_Hicks 

        I am not sure why you should get a spill error unless you are trying to place the result in a table or copy/fill the formula down (the bottom one should still work in the latter case). 

        Maybe start by trying

        = SORTBY(name, total,-1)

Resources