Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Finding the location of what was summed

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?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Finding the location of what was summed

If it is the most common item then:

MODE(A1:A36533)

will do it

Mike

" wrote:

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?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Finding the location of what was summed

On May 21, 1:55 pm, Mike H wrote:
If it is the most common item then:

MODE(A1:A36533)

will do it

Mike



It's the least

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Finding the location of what was summed

Try this

=INDEX(A2:A30,MATCH(MIN(COUNTIF(A2:A30,A2:A30)),CO UNTIF(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


--
Regards,

Peo Sjoblom

wrote in message
ups.com...
On May 21, 1:55 pm, Mike H wrote:
If it is the most common item then:

MODE(A1:A36533)

will do it

Mike



It's the least



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding the location of MAX value in column milly Excel Discussion (Misc queries) 2 May 11th 07 12:15 PM
Finding Location of Maximum Value in 2D Array [email protected] Excel Discussion (Misc queries) 17 November 10th 06 02:36 PM
Finding Location of Maximum Value in 2D Array [email protected] New Users to Excel 15 November 9th 06 05:23 AM
finding cell location Jshendel Excel Discussion (Misc queries) 5 August 30th 06 10:02 PM
finding rightmost location of a character KingGeezer Excel Worksheet Functions 9 January 24th 06 05:21 PM


All times are GMT +1. The time now is 04:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"