Hi,
I have used the following formula to look at a data range (in J3:V3) and return the most common string (the data is simple, either "RED", "GREEN" or "AMBER")
{=INDEX(J3:V3,MATCH(MAX(COUNTIF(J3:V3:,J3:V3)),COUNTIF(J3:V3,J3:V3),0))}
It works fine and returns what I was after, but I can't quite get how it works. I've researched the Index Match element and understand that in isolation, although how the Max/Countif part fits in I do not understand. I also do not understand the syntax for the countif if I compare it to other tutorials on Countif...
So I suppose I'm not really understanding this any more than I did when I first used it! If anyone could explain in simple English how these work in unison you would be sparing my sanity!!!
Thanks in advance!
Ben
I have used the following formula to look at a data range (in J3:V3) and return the most common string (the data is simple, either "RED", "GREEN" or "AMBER")
{=INDEX(J3:V3,MATCH(MAX(COUNTIF(J3:V3:,J3:V3)),COUNTIF(J3:V3,J3:V3),0))}
It works fine and returns what I was after, but I can't quite get how it works. I've researched the Index Match element and understand that in isolation, although how the Max/Countif part fits in I do not understand. I also do not understand the syntax for the countif if I compare it to other tutorials on Countif...
So I suppose I'm not really understanding this any more than I did when I first used it! If anyone could explain in simple English how these work in unison you would be sparing my sanity!!!
Thanks in advance!
Ben