Jcbperault
New Member
I’ve been really struggling with a particular search using multiple criteria on an actual TABLE using Table Names and Column Names. This appears to work differently than when using the A1:B200 notation for some reason.
I need to do it like this in order to accommodate adding of rows and columns without needing to adjust the formulas.
And... to make it even more difficult I need one of the criteria to be within a numeric range.
GOAL - Find all the items that match the following criteria
Type = ON
Material = Aluminum
OD +/- ODTolerance = 23 +/- 0.02
There are 45 of these in the list. I need the result to be a list of Devices that match all this criteria.
I've tried a large number of Index/Match/Countif/Countifs/etc... But cannot get it to work.
Here is the [Ctrl][Shift][Enter] example of one cell
=IFERROR(INDEX(_DLookup[Hex], SMALL(IF(COUNTIF(_DLookup[Hex Type],_HT)*COUNTIF(_DLookup[Material],_HM)*COUNTIFS(_DLookup[OD (mm)],">="&_O-_ODt,_DLookup[OD (mm)],"<="&_O+_ODt), ROW(_DLookup[Device])-MIN(ROW(_DLookup[Device]))+1), ROW(A1)), COLUMN(A1)),"-")
I'm pretty sure that the countifs part in here is messing up the whole thing, but I'm not sure what to do about it.
Any help would be GREAT.
Thanks
I need to do it like this in order to accommodate adding of rows and columns without needing to adjust the formulas.
And... to make it even more difficult I need one of the criteria to be within a numeric range.
GOAL - Find all the items that match the following criteria
Type = ON
Material = Aluminum
OD +/- ODTolerance = 23 +/- 0.02
There are 45 of these in the list. I need the result to be a list of Devices that match all this criteria.
I've tried a large number of Index/Match/Countif/Countifs/etc... But cannot get it to work.
Here is the [Ctrl][Shift][Enter] example of one cell
=IFERROR(INDEX(_DLookup[Hex], SMALL(IF(COUNTIF(_DLookup[Hex Type],_HT)*COUNTIF(_DLookup[Material],_HM)*COUNTIFS(_DLookup[OD (mm)],">="&_O-_ODt,_DLookup[OD (mm)],"<="&_O+_ODt), ROW(_DLookup[Device])-MIN(ROW(_DLookup[Device]))+1), ROW(A1)), COLUMN(A1)),"-")
I'm pretty sure that the countifs part in here is messing up the whole thing, but I'm not sure what to do about it.
Any help would be GREAT.
Thanks