I'm trying to create a formula based on a dropdown list and corresponding columns.
I am trying to build a formula that uses a dropdown list that corresponds to different columns, it needs to capture all of the options. I was using an index match but I can only get one variable to pull and it's not pulling the correct date? A column with Current Phase has multiple drop down options that I need to match to individual columns with dates so it will pull the dates based on the phase into a Phase Completion Deadline column. Columns are not static, so I chose Index rather than VLookup.
=INDEX([Construction Completion Phase Deadline]:[Construction Completion Phase Deadline], MATCH("Construction", [Current Phase]:[Current Phase], 0)
Answers

I'm not 100% sure without seeing the source sheet or knowing more context. If you're able to share screenshots (blurring out any sensitive info), that may help. If you need a formula with multiple conditions, you may need an INDEX(COLLECT) formula. You can set multiple conditions that way. Your base formula with one condition may read something like this:
=INDEX(COLLECT([Construction Completion Phase Deadline]:[Construction Completion Phase Deadline], [Current Phase]:[Current Phase], "Construction"), 1)
However, if you're looking to generate different outcomes in a single cell or column based on variable inputs in other fields, you may need to use nested IF( formulas (i.e. logic states that says "if this is true, do this, if false do this, if false do this..." and so on)
Hope this helps!:)

It is helpful but I'm still pulling dates that don't align or I get various error/argument messages. I've included a screenshot as an example.
The current phase has a dropdown of multiple options. Each option has a corresponding column to track against a date. I need the Phase Completion Deadline to pull the date from the column that corresponds to the phase (ie. if Current Phase = Design Development 30%, then I need it to pull the date from the corresponding column if available, once the phase changes, I need it to pull from the next column, etc. for all of the different phases.). I think it's probably the nested IF formula and I'm probably not writing it correctly. Any additional feedback is very much appreciated and I thank you in advance!
Help Article Resources
Categories
Check out the Formula Handbook template!