Add tick mark at the end of text in a cell with conditional formatting

sharshra

Active Member
Joined
Mar 20, 2013
Messages
404
Office Version
  1. 365
I´m using conditional formatting in a range of cells to indicate the tasks which are completed in green text. In additional to turning it to green text, I want to add a tick mark at the end of the task based on the same conditional formatting. I know to insert a tick mark in a text, add a tick mark in a cell based on the value in another cell etc. I searched internet, but couldn´t find a solution to add tick mark at the end of the text in a cell using conditional formatting. Can experts in this forum help please?

Consider the sample tables below.

Table 1 has the conditional formatting where the text in all columns in a row turns green when status is complete. This is simple conditional formatting & works correctly.
Book1
BCD
2#TaskStatus
31Task 1In progress
42Task 2Complete
53Task 3Complete
64Task 4In progress
75Task 5In progress
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B3:D7Expression=$D3="complete"textNO


Table 2 shows what I need with a tick mark added at the end of the task when the status is complete. This is in addition to turning the text green in all columns green in a row where status is complete.
1715609090531.png
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
I don't think a worksheet formula/formatting solution is possible. Do you want a VBA solution? This can be done with a worksheet change event.
 
Upvote 0
It can be done with a custom number format:

1715614116241.png


Set up the CF rule formatting by going to the Number tab, and creating this format:

1715614236992.png


I got the check mark by using the formula:

=UNICHAR(10003)

Then copied the cell, and did a Paste Special-Value, then I could copy/paste it into the Type: section after [Green] @

Also note that you don't have an option of the particular shade of green, you would have to adjust the formatting in columns B and D if you want them to match.
 
Upvote 1
Thanks for the suggestion, Eric. But I think I´m looking for slightly different solution. When I enter `complete´ in the status column, text in all columns in that row should change to green text. This is the first part which is simple to do in conditional formatting & it is working well. 2nd part is to add a tick mark to the text in the `task´ column & I´m struggling here. How can I use the conditional formatting to add a tick at the end of the text in that row? Does the custom format check the condition in another cell & add a tick mark at the end of the text in another cell?
 
Upvote 0
Thanks for the suggestion, Eric. But I think I´m looking for slightly different solution. When I enter `complete´ in the status column, text in all columns in that row should change to green text. This is the first part which is simple to do in conditional formatting & it is working well. 2nd part is to add a tick mark to the text in the `task´ column & I´m struggling here. How can I use the conditional formatting to add a tick at the end of the text in that row? Does the custom format check the condition in another cell & add a tick mark at the end of the text in another cell?
I'm not sure I understand why you think @Eric W's solution will not work for you? You just need to amend it a little bit. He has given you an idea of how to use conditional custom formatting for text in any cell. You just need to create two custom formats one without the check mark, and one with and apply to the same conditions for different columns.
 
Upvote 0
Like awoohaw said, you'll need 2 rules:

Book1
BCD
1
2#TaskStatus
31Task 1In progress
42Task 2 ✓Complete
53Task 3 ✓Complete
64Task 4In progress
75Task 5In progress
8
Sheet7
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C:CExpression=$D1="Complete"textNO
D:D,B:BExpression=$D1="Complete"textNO


I used pictures originally, since xl2bb didn't show the shading in column C, or the special number format. But use your existing CF formula in columns B and D, and the one I provided in column C. It's not 100% perfect, because of the shading, but if that's important, awoohaw can help you with a macro that will trigger whenever the data in column D changes.
 
Upvote 0
Solution

Forum statistics

Threads
1,223,879
Messages
6,175,145
Members
452,615
Latest member
bogeys2birdies

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