I'm trying to work this (without macro), of course not working on Apples and Peer:
Plain text exemple :
https://pastebin.com/3L8rzxCa
Snip of my excel sheet:
https://imgur.com/a/kkVvqZ3
I Want to check if a cell (that contains a list of goods) contains one value from a range (inventory) AND is present in stock.
I Tried :
VLOOKUP with wildcard (not working since fruit in stock should be contained in the Basket list, not the other way around)
Countif : works to check if cell contains indiviual value from range, but can't check if "in stock"
Maybe a CSE formula I can't craft?
I hope it's understandable... Thanks in for your help :)
Quite tricky, possible better ways of doing this. But here is one way:
Formula in
C8
Notice it's an array formula and need to be confirmed through CtrlShiftEnter
You could use the following:
The above assumes that the fruits in the list provided are all present in the list of fruits in stock.
The above also assumes that a
Yes
is expected as long as at least one fruit is in stock out of the provided list of fruits.If a
No
is expected if any one of the fruits in the provided list is missing, then you could use the following:So, based on a simple example you could try something like: