Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In column T I have teams names and in column U there is a number (1, 2, 3, or
4) next to each team name. In cells B2:B24 I want each cell to find the team name in column T and if the number in the corresponding column U cell equals 1 I want it to hightlight the cell green. Any idea how to do this? I used =VLOOKUP($B$2,$T:$U,2,0)=1 in cell B2 and it worked but I can't copy this down and I don't want to have to enter this into each cell and then change the $B$2 to $B$3 and so on. Thanks. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You CAN ...
Just change $B$2 to B2 before copying If you are using this in conditional formatting then select the Range B2:B24 then enter the formula as =VLOOKUP(B2,$T:$U,2,0)=1 If you want to highlight the whole row then select the range and use =VLOOKUP($B2,$T:$U,2,0)=1 "Jambruins" wrote: In column T I have teams names and in column U there is a number (1, 2, 3, or 4) next to each team name. In cells B2:B24 I want each cell to find the team name in column T and if the number in the corresponding column U cell equals 1 I want it to hightlight the cell green. Any idea how to do this? I used =VLOOKUP($B$2,$T:$U,2,0)=1 in cell B2 and it worked but I can't copy this down and I don't want to have to enter this into each cell and then change the $B$2 to $B$3 and so on. Thanks. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks.
"Sheeloo" wrote: You CAN ... Just change $B$2 to B2 before copying If you are using this in conditional formatting then select the Range B2:B24 then enter the formula as =VLOOKUP(B2,$T:$U,2,0)=1 If you want to highlight the whole row then select the range and use =VLOOKUP($B2,$T:$U,2,0)=1 "Jambruins" wrote: In column T I have teams names and in column U there is a number (1, 2, 3, or 4) next to each team name. In cells B2:B24 I want each cell to find the team name in column T and if the number in the corresponding column U cell equals 1 I want it to hightlight the cell green. Any idea how to do this? I used =VLOOKUP($B$2,$T:$U,2,0)=1 in cell B2 and it worked but I can't copy this down and I don't want to have to enter this into each cell and then change the $B$2 to $B$3 and so on. Thanks. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Did it work out for you?
"Jambruins" wrote: Thanks. "Sheeloo" wrote: You CAN ... Just change $B$2 to B2 before copying If you are using this in conditional formatting then select the Range B2:B24 then enter the formula as =VLOOKUP(B2,$T:$U,2,0)=1 If you want to highlight the whole row then select the range and use =VLOOKUP($B2,$T:$U,2,0)=1 "Jambruins" wrote: In column T I have teams names and in column U there is a number (1, 2, 3, or 4) next to each team name. In cells B2:B24 I want each cell to find the team name in column T and if the number in the corresponding column U cell equals 1 I want it to hightlight the cell green. Any idea how to do this? I used =VLOOKUP($B$2,$T:$U,2,0)=1 in cell B2 and it worked but I can't copy this down and I don't want to have to enter this into each cell and then change the $B$2 to $B$3 and so on. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
New Conditional Format Overriding Previous Conditional Format | Excel Discussion (Misc queries) | |||
conditional format on cells using VLOOKUP | Excel Discussion (Misc queries) | |||
VLOOKUP in a conditional format | Excel Discussion (Misc queries) | |||
copy conditional format to regular format | Setting up and Configuration of Excel | |||
copy conditional format as ACTUAL format | Excel Discussion (Misc queries) |