A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi,
This should work
=INDEX(*range,*SMALL(IF(cell=*range,IF(another_cell=country_range,*ROW(range)-ROW(cell)+1)),ROW(1:1)))
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I was able to use Index, Small, and Row functions together nicely to get the information I was looking for. However, I have another set of criteria that I was wondering how to fit into the formula. For instance, I have a worksheet set up that I type in a single finished good part number to show me all the components that go into the finished good. Like, =INDEX(*range,*SMALL(IF(cell=*range,*ROW(range)-ROW(cell)+1),ROW(1:1))). Is there a way to have this formula perform another logical test to match country of origin to only display part numbers that match with selected countries?
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hi,
This should work
=INDEX(*range,*SMALL(IF(cell=*range,IF(another_cell=country_range,*ROW(range)-ROW(cell)+1)),ROW(1:1)))
Hello Jared,
To your description shared, I would like to request you to share the sample data of your workbook and required output, so we can share the formula that matches your situation correctly.
Note: Please upload the workbook to your OneDrive or any cloud location and share the link with us.
Best Regards,
Mia
Hi,
Share some data and show the expected result.
Hi Ashish!
The example above gave me the error message that said, "You've entered too few arguments for this function." It then jumps my cursor to the SMALL( closing bracket. I haven't been able to figure out what that means. Excel won't let me evaluate the formula at all to see what I am missing.
I should also add, I played around with using the match function in an array formula. I was able to get it to work, but the data didn't quite match exactly. I am sure there is a very simple piece that I am missing somewhere. :)