How can I get the tool bar with the cell styles?
Do you mean this one?
And on which version of Excel you are?
@Sergei Baklan yes i am using microsoft excel online and do not have access to that toolbar
Excel Online has limited functionality compare to desktop version. It's ribbon is not customizable, you have what you have on it. In particular, no styles.