ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional formatting (https://www.excelbanter.com/excel-worksheet-functions/213369-conditional-formatting.html)

Gilbert DE CEULAER

Conditional formatting
 
Is there any possibility to conditionally center (or shift right) cell
contents ?



Luke M

Conditional formatting
 
mcescher answered this in your earlier post.

"msescher" wrote:
You could do it with a hidden column.

Assuming column A is your data, and you want to shift anything over
25. Insert a column at B and use this formula:
=If(a125," " & a1, a1)

The string is just five spaces, adjust to your own needs.

Hope this helps,
Chris M.

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Gilbert DE CEULAER" wrote:

Is there any possibility to conditionally center (or shift right) cell
contents ?





All times are GMT +1. The time now is 10:14 AM.

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