ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumproduct question (https://www.excelbanter.com/excel-worksheet-functions/123038-sumproduct-question.html)

Barb Reinhardt

Sumproduct question
 
I have a bit of a complicated SUMPRODUCT question.

1) I want the year of row 3 to match the year of the named range
"CurrentMonth"
2) The row # for the second array is defined in B100 (for example)

Can someone assist?


KEep in mind that there are numeric and text values in row 3 as well as in
the dynamic row #.

Thanks,

Bob Phillips

Sumproduct question
 
Barb,

Is this what you mean

=SUMPRODUCT(--(YEAR(INDIRECT(B100&":"&B100))=YEAR(CurrentMonth)) )

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Barb Reinhardt" wrote in message
...
I have a bit of a complicated SUMPRODUCT question.

1) I want the year of row 3 to match the year of the named range
"CurrentMonth"
2) The row # for the second array is defined in B100 (for example)

Can someone assist?


KEep in mind that there are numeric and text values in row 3 as well as in
the dynamic row #.

Thanks,





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

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