Search code examples
excelexcel-formulacountvlookup

Excel formula to find 2 different values in the same cell


attached you will see 2 images, on one side, I have the "company" and the article in the same line.

First sheet source

First sheet source

Meanwhile , in the other sheet, i have the company in one column and the article in the row.

Second sheet ie result

Second sheet ie result! The idea is to have a formula to fill the second sheet , in the example I did it manually.

So far I tried to combine count*find , but got no solution.

thank you !!

I tried count*find, but run out of ideas.


Solution

  • You just need a concatenated vlookup. If your data is in A9-1:13, you put put this formula in the first cell of your table and drag accross and down.

    =IF(ISTEXT(VLOOKUP($A2&" "&B$1,$A$9:$A$15,1,FALSE)),"ok", "x")
    

    enter image description here