LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Calculate mode based on criteria

My data looks like this:

Store# Date Freq. of Dates
1 10/2/2006 2
1 10/2/2006 2
2 10/2/2006 2
2 10/1/2006 1
2 10/2/2006 2
3 10/5/2006 3
3 10/5/2006 3
3 10/3/2006 1
3 10/5/2006 3

I want to insert a new column that will pull in the date for the max of
Freq. of Dates for a given store, which in essence gives the mode date for
each store. I would like my data to look like this.

Store# Date Freq. of Dates Mode Date
1 10/2/2006 2
10/2/2006
1 10/2/2006 2
10/2/2006
2 10/2/2006 2
10/2/2006
2 10/1/2006 1
10/2/2006
2 10/2/2006 2
10/2/2006
3 10/5/2006 3
10/5/2006
3 10/5/2006 3
10/5/2006
3 10/3/2006 1
10/5/2006
3 10/5/2006 3
10/5/2006

I've been scratching my head about this one for awhile and can't come up
with a solution. Can anyone help? Perhaps there's an easier way to get the
end result I'm looking for without even using the Freq of Dates field. What
I'm really after is the mode Date.

Thanks

 
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
Suming selected cells based on two criteria Gerard Excel Worksheet Functions 3 August 9th 06 11:45 AM
sum items in a column based on criteria located in other columns Kurt Excel Discussion (Misc queries) 1 August 2nd 06 05:12 PM
Calculate average based on date and other criteria Kycajun Excel Discussion (Misc queries) 3 July 14th 06 10:08 PM
evaluate two cells and calculate based on criteria galiant Excel Worksheet Functions 6 July 10th 06 04:21 PM
Fill cells with color based on criteria in two cells AA Excel Worksheet Functions 2 January 2nd 06 11:29 PM


All times are GMT +1. The time now is 05:18 PM.

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"