W
willee
Hello folks,
Been scratching my head for a couple of hours trying to avoid having to
resort to VBA. Hopefully, you can help me with the following...
I've used the Conditional Sum Wizard to set the value of a cell
depending on multiple conditions and that seems to work fine, but I'd
like to be able to use some dynamic, named ranges instead of absolute
cell references in my formula.
Here's the formula that works with the absolute references,
Code:
--------------------
{=SUM(IF(Payments!$A$2ayments!$A$113>=DATEVALUE("06/04/2004"),IF(Payments!$A$2ayments!$A$113<=DATEVALUE("05/04/2005"),IF(Payments!$H$2ayments!$H$113=$A6,Payments!$E$2ayments!$E$113,0),0),0))}
--------------------
What I'd really like to do is to replace the hard-coded reference to
row 113 as addtional rows are appended. I thought my best approach
would be to replace the cell range with a named range, as per the
following, but it didn't work.
Code:
--------------------
{=SUM(IF(payments_a>=DATEVALUE("06/04/2004"),IF(payments_a<=DATEVALUE("05/04/2005"),IF(payments_h=$A6,payments_e,0),0),0))}
--------------------
Any suggestions?
Thanks
Been scratching my head for a couple of hours trying to avoid having to
resort to VBA. Hopefully, you can help me with the following...
I've used the Conditional Sum Wizard to set the value of a cell
depending on multiple conditions and that seems to work fine, but I'd
like to be able to use some dynamic, named ranges instead of absolute
cell references in my formula.
Here's the formula that works with the absolute references,
Code:
--------------------
{=SUM(IF(Payments!$A$2ayments!$A$113>=DATEVALUE("06/04/2004"),IF(Payments!$A$2ayments!$A$113<=DATEVALUE("05/04/2005"),IF(Payments!$H$2ayments!$H$113=$A6,Payments!$E$2ayments!$E$113,0),0),0))}
--------------------
What I'd really like to do is to replace the hard-coded reference to
row 113 as addtional rows are appended. I thought my best approach
would be to replace the cell range with a named range, as per the
following, but it didn't work.
Code:
--------------------
{=SUM(IF(payments_a>=DATEVALUE("06/04/2004"),IF(payments_a<=DATEVALUE("05/04/2005"),IF(payments_h=$A6,payments_e,0),0),0))}
--------------------
Any suggestions?
Thanks