Home » excel » Excel vlookup() the right function to use?

Excel vlookup() the right function to use?

Posted by: admin May 14, 2020 Leave a comment


I’m not sure if VLOOKUP() is the function I am looking for, but here is the spreadsheet that I am working on: https://docs.google.com/spreadsheet/ccc?key=0Ap96QeCBYRNtdDlpX0lONDg1YThLN1M5YkNlT1FBeFE

What I am basically trying to do is use the values in cells E18:P18 to determine whether or not my values in cells E4:P7 should be replaced or not. If there is a value other than 0 in that range, then it should take the values from the appropriate column in the range of E13:P16 and replace them into the appropriate item.

So, for this example, we are replacing item values 1 (weapon #1), 3 (off-hand), 4 (helm), and 5 (shoulders). The expected results can be seen on the spreadsheet and these are the values that I would like to show up in the Equipped Item. Is there a way to easily achieve this through an excel formula? If so, what is the best way to use it?

How to&Answers:

After our discussion, here’s what I think you should do.

In the Expected Results table, try this formula out in cell E31:


Once you paste it in, you can copy down and the formula will adjust accordingly.

Here is a picture of the expected results based on your info:
enter image description here

Please let me know if this is the desired result 🙂