LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Mode Function combined with a filter

Say we have data in column A, from A1 thru A19:

data
1
1
1
1
2
2
2
3
3
4
5
6
7
8
9
10
11
12

Where A1 is the header cell. Use:

=MODE(IF(SUBTOTAL(3,OFFSET(A2:A19,ROW(A2:A19)-ROW(A2),,1))=1,A2:A19,""))

This is an array function that must be entered with CNTRL-SHFT-ENTER rather
than just the ENTER key.
--
Gary''s Student - gsnu200909


"Neolyth" wrote:

Hi
I'd like to use the mode-function like sumifs or countifs. So first I want
to do a filtering and then use the resulting list to calculate the modal
value. How can I do this?

Thanks in advance

 
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
Pivot Table value filter combined with Top x functionality not wor Ram Excel Discussion (Misc queries) 0 October 29th 08 06:56 PM
copy in filter mode Sarah Excel Worksheet Functions 0 October 8th 07 07:07 PM
Filter mode Julieeeee Excel Worksheet Functions 1 July 29th 05 06:41 PM
Why does it say "Filter mode" instead of "X of Y records"? lucky_jed Excel Worksheet Functions 3 April 7th 05 12:05 PM
copy in filter mode Excel Worksheet Functions 1 January 8th 05 03:36 AM


All times are GMT +1. The time now is 07:11 AM.

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

About Us

"It's about Microsoft Excel"