mysteryg45
New Member
- Joined
- Dec 1, 2023
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
I have a sheet ("Form Responses 1") listing Date 1 and Date 2 and calculating the amount of time between them. And then in another sheet I also want to average the amount of time between Date 1 and Date 2, where Date 2 (in column H) is only in the last 6 months. (For some reason I couldn't get AVERAGEIF to work, so I'm using SUMIF/COUNTIF.) The following formula returns 0. Where am I going wrong? (I have a feeling it's to do with how I've written out the check for if the date is in the last 6 months...)
=SUMIF('Form Responses 1'!H:H,">"&TODAY()-180,'Form Responses 1'!L:L)/COUNTIF('Form Responses 1'!H:H,">"&TODAY()-180)
=SUMIF('Form Responses 1'!H:H,">"&TODAY()-180,'Form Responses 1'!L:L)/COUNTIF('Form Responses 1'!H:H,">"&TODAY()-180)