Hi,
I am trying to put a list of companies in alphabetical order (by formula and not using the sort function) and I think the first step to do this is to rank the companies.
What I have is my list looks a bit like this
Company A
Company B
Company A
Company C
Company C
Company D
So I would want all Company A's to have rank 1 , all Company B's have rank 2 etc. The rank function would rank Company B as 3 as there are two Company A's
I found the following formula in a different thread which works: =1+SUMPRODUCT((List of names>Company Name)/COUNTIF(List of Names, List of Names))
However, it can't seem to handle if there is a blank cell at the end of my "List of Names"
I want there to be blanks in my defined range so that if for example "Company E" gets added it then gets assigned a rank
Can anyone see a work around?
I am trying to put a list of companies in alphabetical order (by formula and not using the sort function) and I think the first step to do this is to rank the companies.
What I have is my list looks a bit like this
Company A
Company B
Company A
Company C
Company C
Company D
So I would want all Company A's to have rank 1 , all Company B's have rank 2 etc. The rank function would rank Company B as 3 as there are two Company A's
I found the following formula in a different thread which works: =1+SUMPRODUCT((List of names>Company Name)/COUNTIF(List of Names, List of Names))
However, it can't seem to handle if there is a blank cell at the end of my "List of Names"
I want there to be blanks in my defined range so that if for example "Company E" gets added it then gets assigned a rank
Can anyone see a work around?