Fishboy
Well-known Member
- Joined
- Feb 13, 2015
- Messages
- 4,267
Hi All,
Long time reader, first time poster here. Basically I am having an issue with reporting some of the data on one of my massive spreadsheets.
Ultimately what I am looking to do is have one cell report the maximum time taken to achieve a goal (read from column AJ3), but based on the specific location (read from column A). So far I have trawled through the web looking at various different solutions but none of them seem to be working, i.e they either give an error in a popup because it is broken, or it just returns a value of zero even though I know the answer is an actual number.
The kind of code I have been toying with is as follows (NB: The formula is on sheet3, and the data is on sheet1 labelled "Vetting Breakdown" btw):
My understanding of the above means I expected the formula to:
- Check everything between A3 to the end of Column A on the sheet named "Vetting Breakdown"
- Only count if the cell in column A contains "Luton"
- Then check everything between AJ3 to the end of column AJ and report the highest value
As I say, I already know the maximum value for this should come back as 43, but it is coming back with 0.
Does anyone have any ideas what I am doing wrong, or whether or not I am trying to achieve the impossible? I am having the exact same issue with the MIN version of the above formula as well, so anyhelp would be greatly appreciated.
Many thanks in advance
Long time reader, first time poster here. Basically I am having an issue with reporting some of the data on one of my massive spreadsheets.
Ultimately what I am looking to do is have one cell report the maximum time taken to achieve a goal (read from column AJ3), but based on the specific location (read from column A). So far I have trawled through the web looking at various different solutions but none of them seem to be working, i.e they either give an error in a popup because it is broken, or it just returns a value of zero even though I know the answer is an actual number.
The kind of code I have been toying with is as follows (NB: The formula is on sheet3, and the data is on sheet1 labelled "Vetting Breakdown" btw):
Code:
=MAX(IF('Vetting Breakdown'!$A$3:$A$1048576="Luton",$AJ$3:$AJ$1048576))
My understanding of the above means I expected the formula to:
- Check everything between A3 to the end of Column A on the sheet named "Vetting Breakdown"
- Only count if the cell in column A contains "Luton"
- Then check everything between AJ3 to the end of column AJ and report the highest value
As I say, I already know the maximum value for this should come back as 43, but it is coming back with 0.
Does anyone have any ideas what I am doing wrong, or whether or not I am trying to achieve the impossible? I am having the exact same issue with the MIN version of the above formula as well, so anyhelp would be greatly appreciated.
Many thanks in advance