Without a sample file I must confess it's hard to visualise what you're trying to do ... if you're saying you want xalifrost/yalifrost/zalifrost to be variable (and you have 20 variations thereof) you will most likely need to use INDIRECT Function (Volatile).
For more assistance I think a sample file with dummy data would be required - detailing expected results etc...
Bookmarks