Finding the location of what was summed

  • Thread starter Thread starter calibansfolly
  • Start date Start date
C

calibansfolly

I'm using this formula to sum how many times a unique order number
appears in column A:
=SUM(IF(FREQUENCY(A1:A36533,A1:A36533)=N,1))

where N is the number of times it appears.

There is one order that appears six times and I need to find out what
that order number is. Any suggestions?
 
Try this

=INDEX(A2:A30,MATCH(MIN(COUNTIF(A2:A30,A2:A30)),COUNTIF(A2:A30,A2:A30),0))

entered with ctrl + shift & enter

will return the least occurring value in A2:A30

note that array formulas tend to slow down large spreadsheets considerably
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top