If you want to find out where the last cell containing data is located on your worksheet, press Ctrl + End. This will move your cursor to the last cell that contains data, which may be several blank columns away from the cells you actually use. You can try to clear the unused cells from any content or formatting, but you will find that Excel still takes you beyond the used range.
Fortunately, there is a quick way to reset the used range so that Excel no longer includes cells that once had data. Follow these steps:
- Open the worksheet you want to reset.
- Press Alt + F11.
- Press Ctrl + G to display the Immediate window, if necessary.
- Click in the Immediate Window and type the following:
- Press Enter.
- Press Alt + Q.
Now when you press Ctrl + End, Excel should take you to the end of the correct range in use.