
Originally Posted by
DonkeyOte
Welcome to the Board.
Could you explain what exactly this monstrosity is meant to be doing ? I can't make head nor tail of it...
presently it's saying (excuse annotation)
=IF(x=y,AND(z=a,s<>0),IF(x=y,z=b,t<>0)....
which basically makes no sense...
I suspect perhaps it's meant to be saying
=IF(AND(x=y,z=a),s,IF(AND(x=y,z=b),t,...)
Which can be streamlined for sure but we need to understand the aim.
Yes this is very close to what I am trying to accomplish.
=IF(x=y,AND(z=a,s),IF(x=y,z=b,t) - kind of like this. But still not sure how to write it.
So let me explain.
I have a matrix on sheet2 which looks like this:
Sheet1 I have two columns where each column populates a number from a previous calculation. This number is used in the formula to locate the desired field in the matrix above on Sheet2.
So if D2 is 2 and E2 is 3 the answer is "no". Again, if D2 is 3 and E2 is 1 the answer would be "nice". So the numbers are only used as reference to where in the matrix it should look up.
I think that is a bit more clear.
Thanks all.
Bookmarks