1. Computing

Sort Data by Font Color in Excel

By

Sort Data by Font Color in Excel
Sort By Font Color Excel

Sort By Font Color Excel

© Ted French

Sort options in Excel include a Custom Sort feature that allows you to sort data by the cell background color or by font color.

Sorting by color can be useful if you are using conditional formatting, which allows you to change the background color or font color of data that meets certain conditions.

Sorting by color can then be used to group this data together for easy comparison and analysis.

Sort by Font Color in Excel Example

For help with this example, see the image above.

  1. Enter the following data into cells D1 to D6: 40, 20, 30, 60, 5, 25.

  2. Use the mouse and CTRL key on the keyboard to select cells D1, D3, D5.

  3. Click on the Home tab of the ribbon.

  4. Click on the down arrow next to the Font Color icon on the ribbon to open the Font Color drop down list.

  5. Choose red from the samples of colors available in the list to change the font color of the data in cells D1, D3, D5 to red.

  6. Drag select cells D1 to D6 to highlight them.

  7. Click on the Sort & Filter icon on the ribbon to open the drop down list.

  8. Click on Custom Sort in the drop down list to bring up the Sort dialog box.

  9. Since our data does not have a heading, if necessary, click on My data has headers at the top right of the dialog box to remove the check mark.

  10. Under the Sort On heading in the dialog box, choose Font Color from the drop down list.

  11. When Excel finds different font colors in the selected data it adds those colors to the options listed under the Order heading in the dialog box.

  12. Under the Order heading, select the color red from the drop down list.

  13. If necessary, chose On Top under the sort order so that the red-colored data will be at the top of the list.

  14. Click OK.

  15. The data in cells A1 to A6 should now be in this order:

    40, 30, 5, 20, 60, 25.

©2014 About.com. All rights reserved.