ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditionally formatting numeric data and text differently (https://www.excelbanter.com/excel-worksheet-functions/253833-conditionally-formatting-numeric-data-text-differently.html)

Albannach

Conditionally formatting numeric data and text differently
 
I am trying to do conditional formatting on cells in Excel 2007 such that if
they contain numeric data, they will be formatted in one font, style, and
size, and if they contain text (e.g. "Out of range"), another combination.
The nearest I can find is to format specific text, but even when I enter the
possible text entries, the system will allow me to change only style,
underline, color, and strikethrough, but not font or size. And even then, I
can see no way to format numeric data and text differently, or to do so
without specifying the text itself.

Dave

Conditionally formatting numeric data and text differently
 
Hi,
Use this formula in the conditional formatting:
=ISTEXT(A1)
Change the A1 to your ref and set format you want for text.
As far as I know, conditional formatting cannot change font size.
Regards - Dave.

"Albannach" wrote:

I am trying to do conditional formatting on cells in Excel 2007 such that if
they contain numeric data, they will be formatted in one font, style, and
size, and if they contain text (e.g. "Out of range"), another combination.
The nearest I can find is to format specific text, but even when I enter the
possible text entries, the system will allow me to change only style,
underline, color, and strikethrough, but not font or size. And even then, I
can see no way to format numeric data and text differently, or to do so
without specifying the text itself.



All times are GMT +1. The time now is 02:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com