Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

#NA Error with Sumproduct

Status
Not open for further replies.

taylo40

IS-IT--Management
Aug 27, 2003
52
GB
Hello,

Appreciate some help with the sumproduct function.

I have created a sumproduct formula and it works fine

=SUMPRODUCT(((CM_Year=YEAR(CM_CurrentMonth))*('Data Sheet'!$B$5:$B$388<=CM_CurrentMonth)*('Data Sheet'!$F$5:$F$388="Actual")*('Data Sheet'!$H$5:$H$388))/1000)

I am trying to reduce the amount of ranges and use range names. Is there a limit to the number of range names as when the formula looks like

=SUMPRODUCT(((CM_Year=YEAR(CM_CurrentMonth))*('Data Sheet'!$B$5:$B$388<=CM_CurrentMonth)*(CM_Status="Actual")*('Data Sheet'!$H$5:$H$388))/1000)

I get the #NA error

Regards,

Jamie




 

I have now sorted - apologies for any inconvenience

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top