Im sure this may be a bit confusing, but i have a database similar to the first image.
What i want to do is, based on the data on "Info" ranges, apply a value to the "Value" ranges. For that i had formulas such as "=if(A1 = "A",1,0)" or "=if(and(B1 = "red",C1 = "pear"),1,0)" which would get me the second image.
My problem is, i need to have these criterias as something easly accessible and modifiable for the user, for that i made another sheet that has the criterias, like the third image.
I first thought of using Xlookup to build a formula that would check if its line fit any of the criteria listed on the other table and then pull the value from the respective "Value" range, but i couldnt think of a way to have it work with the ones with comlex criteria, like the "red and pear"
Another problem i can have is that, intead of getting just fruits in "Info3", i might get say "pear juice", and i would need that to be consiered as "pear" too.
Is there any clear solution for that? Thank you!
What i want to do is, based on the data on "Info" ranges, apply a value to the "Value" ranges. For that i had formulas such as "=if(A1 = "A",1,0)" or "=if(and(B1 = "red",C1 = "pear"),1,0)" which would get me the second image.
My problem is, i need to have these criterias as something easly accessible and modifiable for the user, for that i made another sheet that has the criterias, like the third image.
I first thought of using Xlookup to build a formula that would check if its line fit any of the criteria listed on the other table and then pull the value from the respective "Value" range, but i couldnt think of a way to have it work with the ones with comlex criteria, like the "red and pear"
Another problem i can have is that, intead of getting just fruits in "Info3", i might get say "pear juice", and i would need that to be consiered as "pear" too.
Is there any clear solution for that? Thank you!