Overall_Confusion101
New Member
- Joined
- Oct 21, 2021
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
I've been trying to use OFFSET formula nested within the ISNUMBER(MATCH) combination to get a dynamic range but can't get it to work. There's probably an easier and more elegant way to achieve what I'm trying to do to be honest but I thought about trying to see if this will work.
First version, without OFFSET, but selected range worked well:
=SUMPRODUCT(ISNUMBER(MATCH(ReturnsDataSheet[Return Date],P8:P37,0))*(ReturnsDataSheet[Project]='Control Check'!A83)*(ReturnsDataSheet[Company]='Control Check'!C83)*(ReturnsDataSheet[Company Type]='Control Check'!$B$78)*(ReturnsDataSheet[Return Type]='Control Check'!$A$78),ReturnsDataSheet[Contribution])
but when I have replaced the range with OFFSET, unfortunately, it stopped.
OFFSET on its own in a cell provides the correct range I'm interested in.
=SUMPRODUCT(ISNUMBER(MATCH(ReturnsDataSheet[Return Date],OFFSET(Quarters_Table[@Column3],0,0,$E$77,1),0))*(ReturnsDataSheet[Project]='Control Check'!A82)*(ReturnsDataSheet[Company]='Control Check'!C82)*(ReturnsDataSheet[Company Type]='Control Check'!$B$78)*(ReturnsDataSheet[Return Type]='Control Check'!$A$78),ReturnsDataSheet[Contribution])
Can OFFSET be used in this way at all?
First version, without OFFSET, but selected range worked well:
=SUMPRODUCT(ISNUMBER(MATCH(ReturnsDataSheet[Return Date],P8:P37,0))*(ReturnsDataSheet[Project]='Control Check'!A83)*(ReturnsDataSheet[Company]='Control Check'!C83)*(ReturnsDataSheet[Company Type]='Control Check'!$B$78)*(ReturnsDataSheet[Return Type]='Control Check'!$A$78),ReturnsDataSheet[Contribution])
but when I have replaced the range with OFFSET, unfortunately, it stopped.
OFFSET on its own in a cell provides the correct range I'm interested in.
=SUMPRODUCT(ISNUMBER(MATCH(ReturnsDataSheet[Return Date],OFFSET(Quarters_Table[@Column3],0,0,$E$77,1),0))*(ReturnsDataSheet[Project]='Control Check'!A82)*(ReturnsDataSheet[Company]='Control Check'!C82)*(ReturnsDataSheet[Company Type]='Control Check'!$B$78)*(ReturnsDataSheet[Return Type]='Control Check'!$A$78),ReturnsDataSheet[Contribution])
Can OFFSET be used in this way at all?