Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Conditional Format w/ vlookup????

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Conditional Format w/ vlookup????

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Conditional Format w/ vlookup????

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Conditional Format w/ vlookup????

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
conditional format on cells using VLOOKUP CEG Excel Discussion (Misc queries) 5 August 21st 07 08:36 PM
VLOOKUP in a conditional format Russell Brown Excel Discussion (Misc queries) 3 August 3rd 06 07:13 PM
copy conditional format to regular format GDC Setting up and Configuration of Excel 3 May 4th 05 09:35 PM
copy conditional format as ACTUAL format Dana Zulager Excel Discussion (Misc queries) 7 December 7th 04 11:02 PM


All times are GMT +1. The time now is 11:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"