So if I have a drop list in column A and want to highlight certain cells on the same row depending on what was selected on the drop list, how can I do this. Do I have to code it in VBA or is there another solution?
So if I have a drop list in column A and want to highlight certain cells on the same row depending on what was selected on the drop list, how can I do this. Do I have to code it in VBA or is there another solution?
Use conditional formatting.
Stefan Kemp
Excel Developers Ltd
How many options could you have in validation list?
Regards
Fotis.
-This is my Greek whisper to Europe.
--Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Advanced Excel Techniques: http://excelxor.com/
--KISS(Keep it simple Stupid)
--Bring them back.
---See about Acropolis of Athens.
--Visit Greece.
I have about 15 different?
It might mean having a lot of different rules. It depends upon your data and what exactly you want to have highlighted. Can you post a workbook with representative data so that we can have a go at it?
<---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.Ron W
Then you can use CF.
Somrthing like this.
Let's say that your validation list is in A1 and includes the numbers from 1 to 15.
You can use in CF rules something like this.
Formula:
Please Login or Register to view this content.
And choose a color.
Then when A1=1 or 5 or 12, the range that you have choosen will fill with color.
How can you use Conditional Formating.
--In Excel 2007 and 2010, Conditional Formatting is in the Styles group on the Home tab. In Excel 2003, Conditional Formatting is on the Format menu. See here how you can work using CF.![]()
So now my boss changed the spreadsheet for the day care. Now cell A1 has a drop list "BOY, GIRL" and cell B2 has the ages "0,1,2,3,4,5,6,7,8,9,". Selecting the gender in A1 and then the age in in B2 will then highlight a certain cell in the same row. How can I do this. Is it still possible with a conditional formatting formula?
Last edited by nikko50; 01-21-2014 at 06:24 PM.
Select the cell that you want formatted.
Conditional Formatting, New Rule, Use Formula.
=AND(A1="BOY",B2=the age) choose the formatting you want.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks