I am trying to summarize available inventory for certain projects in a new document. I have used SUMIFS to total the number available using three criteria: Species (Column D in my inventory document and column A in my summary document), Zone (Column A in my inventory document and column C in my summary document), and Project (Column AH in my inventory document and Column D in my summary document).
=SUMIFS('[SI 15 10 26.xlsx]Current Inventory'!AG:AG,'[SI 15 10 26.xlsx]Current Inventory'!D:D,A10,'[SI 15 10 26.xlsx]Current Inventory'!AH:AH,D10,'[SI 15 10 26.xlsx]Current Inventory'!A:A,C10)
The above formula worked.
Now I need the all of the lot-codes listed in the next cells. (ideally all of the lot codes in one cell, but otherwise I could do multiple columns to the right).
I have the following formula which is working to give me the first match:
{=INDEX('[SI 15 10 26.xlsx]Current Inventory'!$F$2:$F$1024,MATCH(1,(C10='[SI 15 10 26.xlsx]Current Inventory'!$A$2:$A$953)*(A10='[SI 15 10 26.xlsx]Current Inventory'!$D$2:$D$953)*(D10='[SI 15 10 26.xlsx]Current Inventory'!$AH$2:$AH$1105),0))}
I am attempting to use the following formula to give me the rest of the matches:
{=INDEX('[SI 15 10 26.xlsx]Current Inventory'!$F$2:$F$1024,SMALL(MATCH(1,((C57='[SI 15 10 26.xlsx]Current Inventory'!$A$2:$A$953)*(A57='[SI 15 10 26.xlsx]Current Inventory'!$D$2:$D$953)*(D57='[SI 15 10 26.xlsx]Current Inventory'!$AH$2:$AH$1105)),0),1))}
When I leave the red 1 as a 1 it returns the same lotcode as the first index formula, but when I change it to a 2 it gives #NUM.
Also, once I have the second formula worked out, would it be possible to have all the lot codes show up in one cell using &? As in:
{=INDEX('[SI 15 10 26.xlsx]Current Inventory'!$F$2:$F$1024,MATCH(1,(C10='[SI 15 10 26.xlsx]Current Inventory'!$A$2:$A$953)*(A10='[SI 15 10 26.xlsx]Current Inventory'!$D$2:$D$953)*(D10='[SI 15 10 26.xlsx]Current Inventory'!$AH$2:$AH$1105),0))&", "&=INDEX('[SI 15 10 26.xlsx]Current Inventory'!$F$2:$F$1024,SMALL(MATCH(1,((C57='[SI 15 10 26.xlsx]Current Inventory'!$A$2:$A$953)*(A57='[SI 15 10 26.xlsx]Current Inventory'!$D$2:$D$953)*(D57='[SI 15 10 26.xlsx]Current Inventory'!$AH$2:$AH$1105)),0),1))}
Thanks in advance!
=SUMIFS('[SI 15 10 26.xlsx]Current Inventory'!AG:AG,'[SI 15 10 26.xlsx]Current Inventory'!D:D,A10,'[SI 15 10 26.xlsx]Current Inventory'!AH:AH,D10,'[SI 15 10 26.xlsx]Current Inventory'!A:A,C10)
The above formula worked.
Now I need the all of the lot-codes listed in the next cells. (ideally all of the lot codes in one cell, but otherwise I could do multiple columns to the right).
I have the following formula which is working to give me the first match:
{=INDEX('[SI 15 10 26.xlsx]Current Inventory'!$F$2:$F$1024,MATCH(1,(C10='[SI 15 10 26.xlsx]Current Inventory'!$A$2:$A$953)*(A10='[SI 15 10 26.xlsx]Current Inventory'!$D$2:$D$953)*(D10='[SI 15 10 26.xlsx]Current Inventory'!$AH$2:$AH$1105),0))}
I am attempting to use the following formula to give me the rest of the matches:
{=INDEX('[SI 15 10 26.xlsx]Current Inventory'!$F$2:$F$1024,SMALL(MATCH(1,((C57='[SI 15 10 26.xlsx]Current Inventory'!$A$2:$A$953)*(A57='[SI 15 10 26.xlsx]Current Inventory'!$D$2:$D$953)*(D57='[SI 15 10 26.xlsx]Current Inventory'!$AH$2:$AH$1105)),0),1))}
When I leave the red 1 as a 1 it returns the same lotcode as the first index formula, but when I change it to a 2 it gives #NUM.
Also, once I have the second formula worked out, would it be possible to have all the lot codes show up in one cell using &? As in:
{=INDEX('[SI 15 10 26.xlsx]Current Inventory'!$F$2:$F$1024,MATCH(1,(C10='[SI 15 10 26.xlsx]Current Inventory'!$A$2:$A$953)*(A10='[SI 15 10 26.xlsx]Current Inventory'!$D$2:$D$953)*(D10='[SI 15 10 26.xlsx]Current Inventory'!$AH$2:$AH$1105),0))&", "&=INDEX('[SI 15 10 26.xlsx]Current Inventory'!$F$2:$F$1024,SMALL(MATCH(1,((C57='[SI 15 10 26.xlsx]Current Inventory'!$A$2:$A$953)*(A57='[SI 15 10 26.xlsx]Current Inventory'!$D$2:$D$953)*(D57='[SI 15 10 26.xlsx]Current Inventory'!$AH$2:$AH$1105)),0),1))}
Thanks in advance!