PC Review


Reply
Thread Tools Rate Thread

Conditional Format / VLookup

 
 
Patrick C. Simonds
Guest
Posts: n/a
 
      11th Apr 2008
What I would like to do is have a conditional format which looks at the
value of the cell then find the matching value on the WorkShifts Monday
worksheet (that value would be found in column A and then when it finds that
look at Column U. If the value in column U is "Large" I want to set the cell
shading to blue ( I know how to set the format if the condition is met it is
everything before that I can not figure out).

The range for WorkShifts Monday worksheet is A3:U120. I am assuming that
this would require there to be some sort of VLookUp as part of the
conditional forma.

 
Reply With Quote
 
 
 
 
JP
Guest
Posts: n/a
 
      11th Apr 2008
I'm not sure I understand your worksheet layout properly. Are you
saying you have a worksheet named "WorkShifts Monday" and you want to
format column A blue if the corresponding column U contains the word
"Large" is that correct?

If so your conditional formatting formula would be:

=U3="Large"


Does that help?

--JP

On Apr 10, 11:10*pm, "Patrick C. Simonds" <ordnan...@comcast.net>
wrote:
> What I would like to do is have a conditional format which looks at the
> value of the cell then find the matching value on the WorkShifts Monday
> worksheet (that value would be found in column A and then when it finds that
> look at Column U. If the value in column U is "Large" I want to set the cell
> shading to blue ( I know how to set the format if the condition is met it is
> everything before that I can not figure out).
>
> The range for WorkShifts Monday worksheet is A3:U120. *I am assuming that
> this would require there to be some sort of VLookUp as part of the
> conditional forma.


 
Reply With Quote
 
Joel
Guest
Posts: n/a
 
      11th Apr 2008
This code works as a regular equation on a worksheet and will also work in
conditional formatiing. Change the look value A1 as required. Make sure I
got the sheet name correct. because you have a space in the sheet name you
must put a single quote around the sheet name.

=IF(LOOKUP(A1,'WorkShifts Monday'!$A:$A,'WorkShifts
Monday'!$U:$U)="Large",TRUE,FALSE)

"Patrick C. Simonds" wrote:

> What I would like to do is have a conditional format which looks at the
> value of the cell then find the matching value on the WorkShifts Monday
> worksheet (that value would be found in column A and then when it finds that
> look at Column U. If the value in column U is "Large" I want to set the cell
> shading to blue ( I know how to set the format if the condition is met it is
> everything before that I can not figure out).
>
> The range for WorkShifts Monday worksheet is A3:U120. I am assuming that
> this would require there to be some sort of VLookUp as part of the
> conditional forma.
>
>

 
Reply With Quote
 
Patrick C. Simonds
Guest
Posts: n/a
 
      11th Apr 2008
Thanks for your reply. It seems you can not reference another worksheet
when using VLookup within a conditional format.


"Joel" <(E-Mail Removed)> wrote in message
news:5D6AEAD1-BAD7-483E-B81D-(E-Mail Removed)...
> This code works as a regular equation on a worksheet and will also work in
> conditional formatiing. Change the look value A1 as required. Make sure
> I
> got the sheet name correct. because you have a space in the sheet name
> you
> must put a single quote around the sheet name.
>
> =IF(LOOKUP(A1,'WorkShifts Monday'!$A:$A,'WorkShifts
> Monday'!$U:$U)="Large",TRUE,FALSE)
>
> "Patrick C. Simonds" wrote:
>
>> What I would like to do is have a conditional format which looks at the
>> value of the cell then find the matching value on the WorkShifts Monday
>> worksheet (that value would be found in column A and then when it finds
>> that
>> look at Column U. If the value in column U is "Large" I want to set the
>> cell
>> shading to blue ( I know how to set the format if the condition is met it
>> is
>> everything before that I can not figure out).
>>
>> The range for WorkShifts Monday worksheet is A3:U120. I am assuming that
>> this would require there to be some sort of VLookUp as part of the
>> conditional forma.
>>
>>


 
Reply With Quote
 
Joel
Guest
Posts: n/a
 
      11th Apr 2008
Sorry I didn't check the solution in a conditional format. The next best
solution is to use an auxilary column on the same worksheet. Put the VLOOKUP
statement in a cell on the worksheet where you want the conditional format.
The put the if statment in the condition format using the auxilary column

put in IV1
=LOOKUP(A1,'WorkShifts Monday'!$A:$A,'WorkShifts Monday'!$U:$U)

then in A1 conditional format
=IF(IV1="Large",TRUE,FALSE)


"Patrick C. Simonds" wrote:

> Thanks for your reply. It seems you can not reference another worksheet
> when using VLookup within a conditional format.
>
>
> "Joel" <(E-Mail Removed)> wrote in message
> news:5D6AEAD1-BAD7-483E-B81D-(E-Mail Removed)...
> > This code works as a regular equation on a worksheet and will also work in
> > conditional formatiing. Change the look value A1 as required. Make sure
> > I
> > got the sheet name correct. because you have a space in the sheet name
> > you
> > must put a single quote around the sheet name.
> >
> > =IF(LOOKUP(A1,'WorkShifts Monday'!$A:$A,'WorkShifts
> > Monday'!$U:$U)="Large",TRUE,FALSE)
> >
> > "Patrick C. Simonds" wrote:
> >
> >> What I would like to do is have a conditional format which looks at the
> >> value of the cell then find the matching value on the WorkShifts Monday
> >> worksheet (that value would be found in column A and then when it finds
> >> that
> >> look at Column U. If the value in column U is "Large" I want to set the
> >> cell
> >> shading to blue ( I know how to set the format if the condition is met it
> >> is
> >> everything before that I can not figure out).
> >>
> >> The range for WorkShifts Monday worksheet is A3:U120. I am assuming that
> >> this would require there to be some sort of VLookUp as part of the
> >> conditional forma.
> >>
> >>

>
>

 
Reply With Quote
 
Patrick C. Simonds
Guest
Posts: n/a
 
      12th Apr 2008
Thanks, that's exactly what I ended up doing.


"Joel" <(E-Mail Removed)> wrote in message
news:A1EAA17F-76D0-4D6A-9750-(E-Mail Removed)...
> Sorry I didn't check the solution in a conditional format. The next best
> solution is to use an auxilary column on the same worksheet. Put the
> VLOOKUP
> statement in a cell on the worksheet where you want the conditional
> format.
> The put the if statment in the condition format using the auxilary column
>
> put in IV1
> =LOOKUP(A1,'WorkShifts Monday'!$A:$A,'WorkShifts Monday'!$U:$U)
>
> then in A1 conditional format
> =IF(IV1="Large",TRUE,FALSE)
>
>
> "Patrick C. Simonds" wrote:
>
>> Thanks for your reply. It seems you can not reference another worksheet
>> when using VLookup within a conditional format.
>>
>>
>> "Joel" <(E-Mail Removed)> wrote in message
>> news:5D6AEAD1-BAD7-483E-B81D-(E-Mail Removed)...
>> > This code works as a regular equation on a worksheet and will also work
>> > in
>> > conditional formatiing. Change the look value A1 as required. Make
>> > sure
>> > I
>> > got the sheet name correct. because you have a space in the sheet name
>> > you
>> > must put a single quote around the sheet name.
>> >
>> > =IF(LOOKUP(A1,'WorkShifts Monday'!$A:$A,'WorkShifts
>> > Monday'!$U:$U)="Large",TRUE,FALSE)
>> >
>> > "Patrick C. Simonds" wrote:
>> >
>> >> What I would like to do is have a conditional format which looks at
>> >> the
>> >> value of the cell then find the matching value on the WorkShifts
>> >> Monday
>> >> worksheet (that value would be found in column A and then when it
>> >> finds
>> >> that
>> >> look at Column U. If the value in column U is "Large" I want to set
>> >> the
>> >> cell
>> >> shading to blue ( I know how to set the format if the condition is met
>> >> it
>> >> is
>> >> everything before that I can not figure out).
>> >>
>> >> The range for WorkShifts Monday worksheet is A3:U120. I am assuming
>> >> that
>> >> this would require there to be some sort of VLookUp as part of the
>> >> conditional forma.
>> >>
>> >>

>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLOOKUP in conditional format? Danni2004 Microsoft Excel Misc 1 18th Sep 2009 08:41 PM
Conditional Format w/ vlookup???? Jambruins Microsoft Excel Misc 3 4th Nov 2008 08:29 PM
Conditional Format overwrighting previous conditional format davethewelder Microsoft Excel Programming 2 10th Apr 2008 04:01 PM
conditional format on cells using VLOOKUP =?Utf-8?B?Q0VH?= Microsoft Excel Misc 5 21st Aug 2007 08:36 PM
VLOOKUP in a conditional format =?Utf-8?B?UnVzc2VsbCBCcm93bg==?= Microsoft Excel Misc 3 3rd Aug 2006 07:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:30 AM.