G
Guest
Hello everyone,
Having problems with the function below:
Explained in English, this formula is to sum the results in a range provided that they meet the following criteria:
*are at 'DRW' status
*and are in the date range 1/5/2004 - 31/5/2004.
It's not quite working though-seems to pick up some dates outside of the range (but not all-strange??).
Here's the formula:
=SUM(IF($H$32:$H$526="DRW",$I$32:$I$526,0),AND($C$32:$C$526>=38108,$I$32:$I$526,0),AND($C$32:$C$526<=38138,$I$32:$I$526,0))
(if my intelligence is correct >=38108 means 1st May 2004 or later and <=38138 means 31st May or earlier)
What I'd really like is a way that I can get this formula
(i) to be accurate
(ii) to be able to update for each new month. I imagine it must be possible to have the formula point to a cell with a number range for the month based on selecting the current month from a drop-down list.
Any assistance would be much appreciated.
Having problems with the function below:
Explained in English, this formula is to sum the results in a range provided that they meet the following criteria:
*are at 'DRW' status
*and are in the date range 1/5/2004 - 31/5/2004.
It's not quite working though-seems to pick up some dates outside of the range (but not all-strange??).
Here's the formula:
=SUM(IF($H$32:$H$526="DRW",$I$32:$I$526,0),AND($C$32:$C$526>=38108,$I$32:$I$526,0),AND($C$32:$C$526<=38138,$I$32:$I$526,0))
(if my intelligence is correct >=38108 means 1st May 2004 or later and <=38138 means 31st May or earlier)
What I'd really like is a way that I can get this formula
(i) to be accurate
(ii) to be able to update for each new month. I imagine it must be possible to have the formula point to a cell with a number range for the month based on selecting the current month from a drop-down list.
Any assistance would be much appreciated.