SarahR2908
New Member
- Joined
- Jan 20, 2020
- Messages
- 6
- Office Version
- 365
- Platform
- Windows
Im trying to show the Top 5 performers within a date range using the units per hour (column G)
At the moment im using the following formula (for first place) which gives the answer i need but you have to manually put in the date range.
=LARGE('Sheet 1'!$G$2:$G$60,1)
I want the user to be able to put in the to and from dates in cells B1 and D1 on another tab and the formula uses these dates to then calculate the largest within that period.
Ive tried to use a formula adapted from a MAX function but this doesnt work.
=LARGE(IF(('Sheet 1'!$B$2:$B$15000<=D1)*('Sheet 1'!$B$2:$B$15000>=B1),'Sheet 1'!$G$2:$G$15000,""))
Can anyone help?
At the moment im using the following formula (for first place) which gives the answer i need but you have to manually put in the date range.
=LARGE('Sheet 1'!$G$2:$G$60,1)
I want the user to be able to put in the to and from dates in cells B1 and D1 on another tab and the formula uses these dates to then calculate the largest within that period.
Ive tried to use a formula adapted from a MAX function but this doesnt work.
=LARGE(IF(('Sheet 1'!$B$2:$B$15000<=D1)*('Sheet 1'!$B$2:$B$15000>=B1),'Sheet 1'!$G$2:$G$15000,""))
Can anyone help?