Jul 17 2023 01:11 PM - edited Jul 17 2023 02:42 PM
I had this functioning, but it got deleted and for the life of me I cannot figure out how to replicate it!
I have an Excel Worksheet CURRENT PROJECTS. In it I have two tabs "data" and "results".
On the "data" tab, there are several columns including Column A (where the entry options are only "ACTIVE" or BLANK), Column C (a client name in text), and Column G (a text field with the choice of only EXISTING or NEW).
I have successfully created a FILTER which results in the creation of an array on the "results" tab that shows all of the "ACTIVE" projects, and the corresponding client names.
Now I need to highlight the "ACTIVE" cells in that array in blue when it an EXISTING client, or in yellow when it is NEW.
How? Any help would be greatly appreciated!
Any help would be greatly appreciated!
Jul 17 2023 02:20 PM
Where does "YES" come into this?
Jul 17 2023 02:40 PM
Jul 17 2023 02:52 PM
Select the column that you want to color.
I'll assume that the active cell in the selection is in row 1.
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula
=$G1="EXISTING"
Click Format...
Activate the Fill tab.
Select blue as highlight color.
Click OK, then click OK again.
Repeat these steps, but with the formula
=$G1="NEW"
and yellow as highlight color.
Jul 17 2023 03:40 PM
Jul 18 2023 03:56 AM
Did you select a large enough range to accommodate more results?
Jul 18 2023 06:33 AM
@HansVogelaar - I did. I had applied the CF to just 4 cells, and it came out just right...like this:
then when tried to change another company on my list to ACTIVE and it came out like this:
so I tried to add the CF to more cells below and got this...
Could my FILTER be wrong?
=FILTER('Projects 2023'!A3:B310,'Projects 2023'!A3:A310="ACTIVE")
Jul 18 2023 08:16 AM
Could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar?
Jul 18 2023 11:39 AM
@HansVogelaar - Of course. Small workbook attached.
Jul 18 2023 11:54 AM
SolutionThanks. You'll have to include the Project Type column in the filter.
And the conditional formatting formula should refer to the column on the RESULTS sheet.
You can hide column E on the RESULTS sheet if you wish.
See the attached version.
Jul 18 2023 11:54 AM
SolutionThanks. You'll have to include the Project Type column in the filter.
And the conditional formatting formula should refer to the column on the RESULTS sheet.
You can hide column E on the RESULTS sheet if you wish.
See the attached version.