To sort by date in Excel, you can use the Sort command on the Home tab. In the Sort & Filter group, click the Sort button, and then select the Date option. Excel will then sort the data based on the dates in the columns. You can also use the Sort dialog box to sort by date. In the dialog box, select the Date option, and then select the column that you want to sort by date.