I have a table for seller name and sales
I am matching data for : enter image description here
For Mark I an use simple vlook up formula but for Susan it is returning see other. I want that it should look on other where Mark is assigned for Susan. It should go to again seller column and look for Mark and return 300 in Susan column instead of see other and return 140 for stephan. How can I make formula which can return value for Mark as well as Susan correctly?
It's a bit of a confusing table setup, but the below formula should work. Just replace the {name_cell} with whatever cell is pointing to Mark or Susan.
=IF(INDEX(Table1[Sales],MATCH({name_cell},Table1[Seller],0))="see other",
INDEX(Table1[Sales],MATCH(INDEX(Table1[Other],MATCH({name_cell},Table1[Seller],0)),Table1[Seller],0)),
INDEX(Table1[Sales],MATCH({name_cell},Table1[Seller],0)))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.