Johnsie007
New Member
- Joined
- May 11, 2020
- Messages
- 17
- Office Version
- 2010
- Platform
- Windows
Hi,
I have a Subtotal array formula that is applied to a range of filtered data.
It works when the data is positive, however, it doesn't seem to work when the data is negative.
{=MAX(SUBTOTAL(104,OFFSET(AH15,ROW(AH15:AH21739)-MIN(ROW(AH15:AH21739)),0,1,1))*(AH15:AH21739<=AH8))}
Essentially, what I am trying to find is the maximum value in the filtered range AH15:AH21739 that is less than the value in cell AH8.
The values in the range are between -0.95 and -0.97. The value in cell AH8 is -0.95.
The formula is returning a value of 0.
It should return the highest possible value that is below -0.95. i.e. -0.96
Is there something obvious that I am missing?
Any help would be greatly appreciated.
Thanks.
I have a Subtotal array formula that is applied to a range of filtered data.
It works when the data is positive, however, it doesn't seem to work when the data is negative.
{=MAX(SUBTOTAL(104,OFFSET(AH15,ROW(AH15:AH21739)-MIN(ROW(AH15:AH21739)),0,1,1))*(AH15:AH21739<=AH8))}
Essentially, what I am trying to find is the maximum value in the filtered range AH15:AH21739 that is less than the value in cell AH8.
The values in the range are between -0.95 and -0.97. The value in cell AH8 is -0.95.
The formula is returning a value of 0.
It should return the highest possible value that is below -0.95. i.e. -0.96
Is there something obvious that I am missing?
Any help would be greatly appreciated.
Thanks.