In line charts column and bar graphs numeric values are plotted only on the y-axis. If you want to apply the formula to entire row just enter the formula into the first cell. Click on the File tab of the ribbon to open the drop-down menu.
For that select the customize quick access toolbar button and click on the command you want to add to the toolbar.
If you want to apply. If it is selected then the Formula Bar is displayed. In the above figure we can see the tick-marked option present at the toolbar. Actually there is a Fill command on Excel Ribbon to help you apply formula to an entire column or row quickly.