RE: Max Function

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



My page looks somewhat like this:

3903 3904 3913 3915
whatever 0 1 1 0
whatever 1 1 1 0
whatever 0 0 1 0

Total 1 2 3 0

I can write the formula to return the max amount to me, but what I want is
for it to
tell me the heading, rather than the amount. Example: 3 is the max, I want
it to
tell me 3913(a store #) so I know which store had the max.

Mary

--
Mary


"Dave F" wrote:

MONTH is a function which extracts from the date in B2:B10 the relevant
month. Example: if the value in B2 is October 10, 2007, =MONTH(B2) will
return October, or 10 depending on how the cell is formatted. The formula
provided will work if the columns are laid out per the assumptions. If these
assumptions do not pertain to your data, post back with information about how
your data are laid out and someone can adjust the formula provided.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"mary" wrote:

There is no "Month" row, but when I added one, the formula did not return the
correct results (wrong store number matched to the highest score). Without
the date, Exel gives me a message telling me I don't have enough arguments
for the formula. I appreciate your quick response, but it's not working for
me.
--
Mary


"Teethless mama" wrote:

Assume
Store number in A2:A10
Date in B2:B10
Score in C2:C10

=INDEX(A2:A10,MATCH(MAX(IF((MONTH(B2:B10)=2),C2:C10)),C2:C10,0))

ctrl+shift+enter, not just enter



"mary" wrote:

I'm tracking stats for stores performances in various departments. Each
criteria has been assigned a value and the Total row sums the total points
for each store. I would like another area/page to show the top store for
each month. I have entered a formula to have it show the max score for each
month but I would like it to show the column heading for the top store
instead, which is the store number. How do I do this?
--
Mary
.



Relevant Pages

  • Re: Borg suggestion for APW
    ... store ... ... risk and he should do something differently to collect those *Heal* pots. ... Another thing to record, if possible, is the amount of time he spends ... at dl1 either scumming for!speed or waiting for stores to restock. ...
    (rec.games.roguelike.angband)
  • Re: how get calculated amount from form to underlaying table
    ... store the exchange rate information, including the date it was in effect. ... You could then use this to redo the calculation when necessary. ... > the underlaying table both the original amount and currency and the amount ... > Foreign currency amount entered by way of text box - no problems. ...
    (microsoft.public.access.forms)
  • Re: Calculating Totals in a Report
    ... Duane Hookom ... and amount of time fields. ... >> suggest any fields that store the amount of time for each task. ... >>>>> What I would like to do is create daily and weekly reports. ...
    (microsoft.public.access.reports)
  • Re: Max Function
    ... I can write the formula to return the max amount to me, ... tell me 3913(a store #) so I know which store had the max. ... detailed questions are more likely to be ... criteria has been assigned a value and the Total row sums the ...
    (microsoft.public.excel.worksheet.functions)
  • Re: [Hobby] Helping to open a gaming store
    ... earn $60K a year with a game store and that is utter horse shit. ... Yeah $600 a day seems like a lot of money for a small store, ... store is well run it is a reasonable amount to expect after the first few ... Of the Reorder Portential items consider the amount of time taken to sell ...
    (rec.games.miniatures.warhammer)