If your formula is complicated and too long and doesn't fit into default formula bar then you can expand it in Excel. You can drag the formula bar to expand it to the size you want, to see the entire formula. You can also use a keyboard shortcut to expand and collapse the formula bar.