Re: Max Function
- From: Dave F <DaveF@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 6 Feb 2007 04:03:01 -0800
David: apparently my excel has a custom number format that I had forgotten
about, which I use when I use the MONTH function: [$-409]mmmm
This returns the month written out, as October, or whatever other month is
relevant.
Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.
"David Biddulph" wrote:
Could you tell us what format to apply to a cell containing =MONTH(B2) to.
get it to return October, in the situation you describe? The cell contains
the number 10, so if you format it as mmmm it will return January. What
format will return October, Dave?
--
David Biddulph
"Dave F" <DaveF@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:690B67FB-B855-4147-9812-17B68D6F92DD@xxxxxxxxxxxxxxxx
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.
"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.
"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
- References:
- Re: Max Function
- From: David Biddulph
- Re: Max Function
- Prev by Date: Re: Visual Basic Question
- Next by Date: Re: unique values within groups
- Previous by thread: Re: Max Function
- Next by thread: RE: Max Function
- Index(es):
Relevant Pages
|