Excel can do this. It is just a matter of defining the relationship(s) between the first two entries and the rest of the table. It is not clear to me what that relationship should be, though I assume that you know it since you create these tables routinely. Guessing, perhaps something like:
Rather than a table that goes across rows, this will create a list that goes down these 3 columns. But this can be converted into the format you have above, or left as a list, depending on other requirements. Left in a list like this, then this will be good candidate for a lookup table that can be used with Excel's lookup functions.
Bookmarks