urban_player
New Member
- Joined
- Feb 22, 2019
- Messages
- 14
Hi Hi,
I have three referenced ranges.
1) DaysOpen
2) DateLogged
3) IncStatus
I am trying to work out the total sum of DaysOpen where the following conditions are met:
1) If the cell date is between two dates using referenced cells
DateLogged >= C8 & DateLogged =<D8
C8 = Date Cell (Feb-19)
D8 = Date Cell (Mar-19)
2) If the IncStatus range (column) contains cell with "Closed"
I have tried the following:
=SUM(SUMIFS(DaysOpen,DateLogged,">=" &C107,DateLogged,"<=" &D107,IncStatus,"Closed"))
=IF(DateLogged>=C107,IF(DateLogged<=D107,IF(IncStatus="Closed",SUM(DaysOpen)*1,0)*0,)*0,) - it auto corrected me with the asterisk (dont ask )
I don't know if the referenced ranges need to be an exact match in terms of row/column size, a problem with the cell format (date type) or anything else.
There are some good resources online but i'm still struggling with what i would call a simple query (which i should know how to do by now!)
Thanks for reading and your time.
urban_player
I have three referenced ranges.
1) DaysOpen
2) DateLogged
3) IncStatus
I am trying to work out the total sum of DaysOpen where the following conditions are met:
1) If the cell date is between two dates using referenced cells
DateLogged >= C8 & DateLogged =<D8
C8 = Date Cell (Feb-19)
D8 = Date Cell (Mar-19)
2) If the IncStatus range (column) contains cell with "Closed"
I have tried the following:
=SUM(SUMIFS(DaysOpen,DateLogged,">=" &C107,DateLogged,"<=" &D107,IncStatus,"Closed"))
=IF(DateLogged>=C107,IF(DateLogged<=D107,IF(IncStatus="Closed",SUM(DaysOpen)*1,0)*0,)*0,) - it auto corrected me with the asterisk (dont ask )
I don't know if the referenced ranges need to be an exact match in terms of row/column size, a problem with the cell format (date type) or anything else.
There are some good resources online but i'm still struggling with what i would call a simple query (which i should know how to do by now!)
Thanks for reading and your time.
urban_player