There are a few ways to turn the legend on and off in Excel. One way is to click on the "View" tab and then uncheck the "Show Legend" box. This will remove the legend from your view. Another way is to click on the legend itself and then press the delete key. This will also remove the legend from your view.
If you want to add a legend back into your view, you can click on the "Insert" tab and then click on the "Legend" button. This will insert a legend into your worksheet. You can then move it to wherever you would like on the page.