Wookiee
Active Member
- Joined
- Nov 27, 2012
- Messages
- 440
- Office Version
- 365
- 2019
- Platform
- Windows
I'm tasked with identifying some very specific figures in an inventory report. I could certainly accomplish my task by using some VBA, but I prefer to use a formula.
My data is in a table (tblInv) and the fields from which I need to draw data are:
[Rep] = employee's name, stored in named range nrRep
[Category] = type of work
[Batch Status] = will always use a value of "Open"
[Received] = date the work was received
I have successfully constructed some nested MIN(IF array formulas which only take one criterion per field, but I need to use a fuzzy parameter and none of my attempts so far have worked.
My reporting requirements dictate that I extract the oldest record (minimum value in Received) for the chosen employee (nrRep) where the batch status is "Open".
The tricky part of the equation is the criteria for the Category field. All work is categorized as "Tape" or "Paper". There are two specific values which fall under "Tape" (Tape File and Tape PG); every other value is considered "Paper".
I was able to get the correct date for the Oldest Tape using the array formula below...
{=MIN(IF(tblInv[Rep]=nrRep,IF(tblInv[Batch Status]="Open",IF(OR(tblInv[Category]="Tape File",tblInv[Category]="Tape PG"),tblInv[Received]))))}
but the formula to exclude those two categories continues to elude me. I tried IF(tblInv[Category]<>"Tape*", IF(tblInv[Category]="<>Tape*", as well as IF(AND and IF(OR constructions using both of the Tape categories.
Unfortunately, I can't sit around and wait for Microsoft to introduce the MINIFS function, so can someone please offer any advice?
Thanks all!
My data is in a table (tblInv) and the fields from which I need to draw data are:
[Rep] = employee's name, stored in named range nrRep
[Category] = type of work
[Batch Status] = will always use a value of "Open"
[Received] = date the work was received
I have successfully constructed some nested MIN(IF array formulas which only take one criterion per field, but I need to use a fuzzy parameter and none of my attempts so far have worked.
My reporting requirements dictate that I extract the oldest record (minimum value in Received) for the chosen employee (nrRep) where the batch status is "Open".
The tricky part of the equation is the criteria for the Category field. All work is categorized as "Tape" or "Paper". There are two specific values which fall under "Tape" (Tape File and Tape PG); every other value is considered "Paper".
I was able to get the correct date for the Oldest Tape using the array formula below...
{=MIN(IF(tblInv[Rep]=nrRep,IF(tblInv[Batch Status]="Open",IF(OR(tblInv[Category]="Tape File",tblInv[Category]="Tape PG"),tblInv[Received]))))}
but the formula to exclude those two categories continues to elude me. I tried IF(tblInv[Category]<>"Tape*", IF(tblInv[Category]="<>Tape*", as well as IF(AND and IF(OR constructions using both of the Tape categories.
Unfortunately, I can't sit around and wait for Microsoft to introduce the MINIFS function, so can someone please offer any advice?
Thanks all!