Did microsoft remove this function? They had it in 2016.
To my knowledge, the keyboard shortcuts in Excel cannot be customized unless you use some third-party tools!
Please check out this link.
By the way, this option is available in Word not in Excel according to this article.
How did you customize it in Excel 2016?