I have 3 items in a drop down in cell F9, BONE, TRIM, AND TIME. I am trying to get cell J22 to populate based on a lookup (which I currently have working) on different columns depending on what is in cell F9. I know how to do this using an IF Statement, but it can get very confusing to code all of that. Is there any function in Excel that allows you to write a case statement like you would in VBA in Access?
For instance, if F9="BONE", I want J22 to look up in column 3 (or C). If F9="TRIM", I want J22 to look up in column 4 (D). You get the idea. Is there any simple way of doing this, or do I have to have a run-on IF STATEMENT?
For instance, if F9="BONE", I want J22 to look up in column 3 (or C). If F9="TRIM", I want J22 to look up in column 4 (D). You get the idea. Is there any simple way of doing this, or do I have to have a run-on IF STATEMENT?