View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Conan Kelly Conan Kelly is offline
external usenet poster
 
Posts: 419
Default How to retain part of formula's criteria as static

--Viewpoint,

Learn everything you can on absolute references vs relative references.

Add dollar signs ($) to the rows/columns you want to remain static:

=SUMPRODUCT(--(MONTH(Data!A50:A10046)=7),--(YEAR(Data!A50:A10046)=2008))

would become

=SUMPRODUCT(--(MONTH(Data!$A$50:$A$10046)=7),--(YEAR(Data!A50:A10046)=2008))

HTH,

Conan Kelly


"--Viewpoint" wrote in message
...
Below is a formula that I want A50:A100046 to remain static so when I
"fill
down" the information doesn't change.

=SUMPRODUCT(--(MONTH(Data!A50:A10046)=7),--(YEAR(Data!A50:A10046)=2008))

Can you suggest how I can write the formula to accomplish my goal? (Just
an
FYI: I'm basing the month and year on a fiscal year beginning July 1
through
June 30, so I'm manually changing this info.)