Conditional Formatting when text overflows the cell

quackdad

Board Regular
Joined
Jul 23, 2013
Messages
110
Is it possible to conditional format a cell when it contains more content than can be displayed? I have created a message box to show the full contents when they click on the cell, but I also want to alert a viewer that there is more in the cell than what they are seeing (e.g., change the font to italic). I do not want to change the width of the column or the height of the row, and I do not want to shrink the text to fit.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hi

One method might be to find out how many characters will actually go in the cell, for example - in my workbook a standard cell with font Calibri at size 11 will hold six characters so I set a conditional format to be formula is: =LEN(A1)>6, the caveat here is that if the user enters a lot of narrow characters such as I then it may look a little out of sorts but it's one quick fix.

HTH


Dave
 
Upvote 0
Solution
Thanks, Dave. It should work for my purposes. I suppose I could change the font to something like Courier if I wanted to be anal about it (and didn't care how it looked.….).
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top