ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Formatting to Change Cell Alignment? (https://www.excelbanter.com/excel-discussion-misc-queries/146002-conditional-formatting-change-cell-alignment.html)

Sam Chambers[_2_]

Conditional Formatting to Change Cell Alignment?
 
I need to change the alignment of certain cells in a spreadsheet, based on
their content. For example, if the cell contains the text "Total", I need it
to be right aligned, but if it says "Department", I need it left aligned. I
can't see a way to do this using conditional formatting. Any ideas?

Barb Reinhardt

Conditional Formatting to Change Cell Alignment?
 
Is this something that changes or is it fixed with the workbook.

You could do a global search for TOTAL and align the found cells the way
you want if it's fixed.

"Sam Chambers" wrote:

I need to change the alignment of certain cells in a spreadsheet, based on
their content. For example, if the cell contains the text "Total", I need it
to be right aligned, but if it says "Department", I need it left aligned. I
can't see a way to do this using conditional formatting. Any ideas?


Sam Chambers[_2_]

Conditional Formatting to Change Cell Alignment?
 
Thanks, Barb. I got hung up on using conditional formatting and forgot that
I can use the Find/Replace to do that.

"Barb Reinhardt" wrote:

Is this something that changes or is it fixed with the workbook.

You could do a global search for TOTAL and align the found cells the way
you want if it's fixed.

"Sam Chambers" wrote:

I need to change the alignment of certain cells in a spreadsheet, based on
their content. For example, if the cell contains the text "Total", I need it
to be right aligned, but if it says "Department", I need it left aligned. I
can't see a way to do this using conditional formatting. Any ideas?


Barb Reinhardt

Conditional Formatting to Change Cell Alignment?
 
Don't worry about it. I've done it before and will probably do it again. :)

"Sam Chambers" wrote:

Thanks, Barb. I got hung up on using conditional formatting and forgot that
I can use the Find/Replace to do that.

"Barb Reinhardt" wrote:

Is this something that changes or is it fixed with the workbook.

You could do a global search for TOTAL and align the found cells the way
you want if it's fixed.

"Sam Chambers" wrote:

I need to change the alignment of certain cells in a spreadsheet, based on
their content. For example, if the cell contains the text "Total", I need it
to be right aligned, but if it says "Department", I need it left aligned. I
can't see a way to do this using conditional formatting. Any ideas?



All times are GMT +1. The time now is 04:16 AM.

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