ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   formula suggestion please (https://www.excelbanter.com/excel-worksheet-functions/65362-formula-suggestion-please.html)

Anthony

formula suggestion please
 
Hi
Can anybody give me a formula for this as I can do the basics, but this is
beyond me.

I want to check the month populated in cell A1 then search column B for that
month and once found give me an average of the corresponding cells C:AG.
Can this be done, if so how??
many thanks

Bob Phillips

formula suggestion please
 
=SUMPRODUCT((MONTH(B2:B20)=1)*(C2:AG20))

SP cannot work on complete columns, you have to give a defined range

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Anthony" wrote in message
...
Hi
Can anybody give me a formula for this as I can do the basics, but this is
beyond me.

I want to check the month populated in cell A1 then search column B for

that
month and once found give me an average of the corresponding cells C:AG.
Can this be done, if so how??
many thanks




Anthony

formula suggestion please
 
thanks Bob

"Bob Phillips" wrote:

=SUMPRODUCT((MONTH(B2:B20)=1)*(C2:AG20))

SP cannot work on complete columns, you have to give a defined range

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Anthony" wrote in message
...
Hi
Can anybody give me a formula for this as I can do the basics, but this is
beyond me.

I want to check the month populated in cell A1 then search column B for

that
month and once found give me an average of the corresponding cells C:AG.
Can this be done, if so how??
many thanks






All times are GMT +1. The time now is 09:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com