Forum

Notifications
Clear all

Conditional formatting based on cumulative values from multiple cells

4 Posts
2 Users
0 Reactions
129 Views
(@louf)
Posts: 2
New Member
Topic starter
 

I'm trying to create conditional formatting for cells C28-Z28 based on text in the columns above. There are shortcut keys set up (listed on sheet) to put a 'p', 'q' or 'pq' into each cell. I need a total of p, p, q, ,q OR p, q, pq, OR pq, pq in the column to format the bottom cell (row 28) as green. How do I make it do this? 

Thanks!

 
Posted : 26/11/2020 7:57 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Louise,

Welcome to our forum.

Is the order of the Ps and Qs important, or just the number of them?

Mynda

 
Posted : 26/11/2020 7:17 pm
(@louf)
Posts: 2
New Member
Topic starter
 

Thanks!

No, the order doesn't matter, only the number. As long as there are 2 of each in each column.

 

Louise

 
Posted : 02/12/2020 2:10 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Louise,

So, if there are two or more cells with a p or q or pq then you want row 28 highlighted green you can use COUNTA to count the number of cells containing text is >=2.

See attached.

Note: your file has shortcut keys listed, but those are shortcuts that already perform actions Excel users perform all the time i.e.

CTRL+A = Select All

CTRL+S = Save

CTRL+D = Duplicate

I recommend choosing shortcut keys that aren't already used.

Mynda

 
Posted : 03/12/2020 4:37 am
Share: