M
Mike
Hello All,
Using Excel XP
I have a worksheet that has 30 days in B3:AE3,(Sep 1, Sep 2, etc...) each
shows the average wind direction for that certain day.
I want to find the wind direction that was used the most during that period.
Before I had the worksheet that had the days in B3:B34 and had a formula as
follows:
{=INDEX(B4:B34,MATCH(MAX(COUNTIF(B4:B34,B4:B34)),COUNTIF(B4:B34,B4:B34),0),1)}
to find the maximum direction for the 30 day period and it worked without a
problem.
In the selection of B3:AE3, I am using the formula:
{=INDEX(B3:AE3,MATCH(MAX(COUNTIF(B3:AE3,B3:AE3)),COUNTIF(B3:AE3,B3:AE3),0),1)}
which gives me #REF!
After typying the formula in, I use the Shift-Ctrl-Enter keys.
Any help would be appreciated.
Michael
Using Excel XP
I have a worksheet that has 30 days in B3:AE3,(Sep 1, Sep 2, etc...) each
shows the average wind direction for that certain day.
I want to find the wind direction that was used the most during that period.
Before I had the worksheet that had the days in B3:B34 and had a formula as
follows:
{=INDEX(B4:B34,MATCH(MAX(COUNTIF(B4:B34,B4:B34)),COUNTIF(B4:B34,B4:B34),0),1)}
to find the maximum direction for the 30 day period and it worked without a
problem.
In the selection of B3:AE3, I am using the formula:
{=INDEX(B3:AE3,MATCH(MAX(COUNTIF(B3:AE3,B3:AE3)),COUNTIF(B3:AE3,B3:AE3),0),1)}
which gives me #REF!
After typying the formula in, I use the Shift-Ctrl-Enter keys.
Any help would be appreciated.
Michael