I'm trying to get the max value from column AG on the Stats worksheet, where the value in column C of the Client Summaries Sheet matches the value of column C on the Stats sheet. From the couple of examples I've seen online, that actually list all 3 parts, this is coded correctly, but I'm getting a #N/A error. Would someone mind showing me what I have mixed up here?
=INDEX(Stats!AG:AG,MATCH(MAX('Client Summaries'!C:C),Stats!C:C,0))
=INDEX(Stats!AG:AG,MATCH(MAX('Client Summaries'!C:C),Stats!C:C,0))