change color if text is = or not, to text in other column

I am taking practice tests.  ColB contains text (the correct answers).  ColC 
contains text (my practice answers).  I want the cells in ColC to turn green 
if my answer is correct (matches the text in ColB) and turn red if it is 
incorrect (does not match the text in ColB).
I can't figure out how to get it to apply Conditional Formating on the 
columns.  It wants me to apply it to only a single cell.  I've also tried 
copying and pasting special just the formatting.  It turns the cells in ColC 
green if they match cell B2 (not the corresponding answer that is in the same 
row).
Please help!  Thank you!
0
6/1/2009 2:38:01 AM
excel.newusers 15348 articles. 2 followers. Follow

7 Replies
779 Views

Similar Articles

[PageSpeed] 16

What version of Excel are you using?

-- 
Biff
Microsoft Excel MVP


"KittyLover" <KittyLover@discussions.microsoft.com> wrote in message 
news:46DE396C-9AB6-4239-8A5E-88720D19D6B9@microsoft.com...
>I am taking practice tests.  ColB contains text (the correct answers). 
>ColC
> contains text (my practice answers).  I want the cells in ColC to turn 
> green
> if my answer is correct (matches the text in ColB) and turn red if it is
> incorrect (does not match the text in ColB).
> I can't figure out how to get it to apply Conditional Formating on the
> columns.  It wants me to apply it to only a single cell.  I've also tried
> copying and pasting special just the formatting.  It turns the cells in 
> ColC
> green if they match cell B2 (not the corresponding answer that is in the 
> same
> row).
> Please help!  Thank you! 


0
biffinpitt (3172)
6/1/2009 3:17:45 AM
Dear Kitty Lover,

Let say Col B2 has the correct answer and Col C2 is your practice answer. 
First apply conditional formatting on C2 and press ok to out from 
conditional formatting, then again go to C2 and delete the $ sign in range 
area and press ok to quit from conditional formatting. Drag down to copy the 
conditioanl formatting, hope it will work, I tried and its working.

Thanks & Regards

TFMR

"KittyLover" wrote:

> I am taking practice tests.  ColB contains text (the correct answers).  ColC 
> contains text (my practice answers).  I want the cells in ColC to turn green 
> if my answer is correct (matches the text in ColB) and turn red if it is 
> incorrect (does not match the text in ColB).
> I can't figure out how to get it to apply Conditional Formating on the 
> columns.  It wants me to apply it to only a single cell.  I've also tried 
> copying and pasting special just the formatting.  It turns the cells in ColC 
> green if they match cell B2 (not the corresponding answer that is in the same 
> row).
> Please help!  Thank you!
0
Hassan (10)
6/1/2009 6:23:01 AM
2007

"T. Valko" wrote:

> What version of Excel are you using?
> 
> -- 
> Biff
> Microsoft Excel MVP
> 
> 
> "KittyLover" <KittyLover@discussions.microsoft.com> wrote in message 
> news:46DE396C-9AB6-4239-8A5E-88720D19D6B9@microsoft.com...
> >I am taking practice tests.  ColB contains text (the correct answers). 
> >ColC
> > contains text (my practice answers).  I want the cells in ColC to turn 
> > green
> > if my answer is correct (matches the text in ColB) and turn red if it is
> > incorrect (does not match the text in ColB).
> > I can't figure out how to get it to apply Conditional Formating on the
> > columns.  It wants me to apply it to only a single cell.  I've also tried
> > copying and pasting special just the formatting.  It turns the cells in 
> > ColC
> > green if they match cell B2 (not the corresponding answer that is in the 
> > same
> > row).
> > Please help!  Thank you! 
> 
> 
> 
0
6/1/2009 11:35:01 AM
Try this...

Assume you're answers are in the range C2:C10.

Select the entire range of cells C2:C10.
Goto Home tab>Styles>Conditional Formatting>Manage rules>New rule>Use a
formula to determine which cells to format
Enter this formula in the box below:
=C2=B2
Click the Format button
Select the Fill tab
Select a shade of GREEN
OK>OK

Click New Rule

Use a formula to determine which cells to format
Enter this formula in the box below:
=AND(C2<>"",C2<>B2)
Click the Format button
Select the Fill tab
Select a shade of RED
OK out

-- 
Biff
Microsoft Excel MVP


"KittyLover" <KittyLover@discussions.microsoft.com> wrote in message 
news:D821C773-79FE-4FAE-B4CF-F3381363345E@microsoft.com...
> 2007
>
> "T. Valko" wrote:
>
>> What version of Excel are you using?
>>
>> -- 
>> Biff
>> Microsoft Excel MVP
>>
>>
>> "KittyLover" <KittyLover@discussions.microsoft.com> wrote in message
>> news:46DE396C-9AB6-4239-8A5E-88720D19D6B9@microsoft.com...
>> >I am taking practice tests.  ColB contains text (the correct answers).
>> >ColC
>> > contains text (my practice answers).  I want the cells in ColC to turn
>> > green
>> > if my answer is correct (matches the text in ColB) and turn red if it 
>> > is
>> > incorrect (does not match the text in ColB).
>> > I can't figure out how to get it to apply Conditional Formating on the
>> > columns.  It wants me to apply it to only a single cell.  I've also 
>> > tried
>> > copying and pasting special just the formatting.  It turns the cells in
>> > ColC
>> > green if they match cell B2 (not the corresponding answer that is in 
>> > the
>> > same
>> > row).
>> > Please help!  Thank you!
>>
>>
>> 


0
biffinpitt (3172)
6/1/2009 4:03:09 PM
You rock!  This worked like a charm!  Thank you!

"T. Valko" wrote:

> Try this...
> 
> Assume you're answers are in the range C2:C10.
> 
> Select the entire range of cells C2:C10.
> Goto Home tab>Styles>Conditional Formatting>Manage rules>New rule>Use a
> formula to determine which cells to format
> Enter this formula in the box below:
> =C2=B2
> Click the Format button
> Select the Fill tab
> Select a shade of GREEN
> OK>OK
> 
> Click New Rule
> 
> Use a formula to determine which cells to format
> Enter this formula in the box below:
> =AND(C2<>"",C2<>B2)
> Click the Format button
> Select the Fill tab
> Select a shade of RED
> OK out
> 
> -- 
> Biff
> Microsoft Excel MVP
> 
> 
> "KittyLover" <KittyLover@discussions.microsoft.com> wrote in message 
> news:D821C773-79FE-4FAE-B4CF-F3381363345E@microsoft.com...
> > 2007
> >
> > "T. Valko" wrote:
> >
> >> What version of Excel are you using?
> >>
> >> -- 
> >> Biff
> >> Microsoft Excel MVP
> >>
> >>
> >> "KittyLover" <KittyLover@discussions.microsoft.com> wrote in message
> >> news:46DE396C-9AB6-4239-8A5E-88720D19D6B9@microsoft.com...
> >> >I am taking practice tests.  ColB contains text (the correct answers).
> >> >ColC
> >> > contains text (my practice answers).  I want the cells in ColC to turn
> >> > green
> >> > if my answer is correct (matches the text in ColB) and turn red if it 
> >> > is
> >> > incorrect (does not match the text in ColB).
> >> > I can't figure out how to get it to apply Conditional Formating on the
> >> > columns.  It wants me to apply it to only a single cell.  I've also 
> >> > tried
> >> > copying and pasting special just the formatting.  It turns the cells in
> >> > ColC
> >> > green if they match cell B2 (not the corresponding answer that is in 
> >> > the
> >> > same
> >> > row).
> >> > Please help!  Thank you!
> >>
> >>
> >> 
> 
> 
> 
0
6/1/2009 11:31:01 PM
Thanks Hassan, but I didnt have a problem w/ applying conditional formatting 
for the = to condition.  I couldnt figure out how to get it to turn green if 
it was equal to or red if it was not equal to.  But the other poster (T. 
Valko) solved the issue.
Thanks so much for trying to help me - I appreciate it!

"Hassan" wrote:

> Dear Kitty Lover,
> 
> Let say Col B2 has the correct answer and Col C2 is your practice answer. 
> First apply conditional formatting on C2 and press ok to out from 
> conditional formatting, then again go to C2 and delete the $ sign in range 
> area and press ok to quit from conditional formatting. Drag down to copy the 
> conditioanl formatting, hope it will work, I tried and its working.
> 
> Thanks & Regards
> 
> TFMR
> 
> "KittyLover" wrote:
> 
> > I am taking practice tests.  ColB contains text (the correct answers).  ColC 
> > contains text (my practice answers).  I want the cells in ColC to turn green 
> > if my answer is correct (matches the text in ColB) and turn red if it is 
> > incorrect (does not match the text in ColB).
> > I can't figure out how to get it to apply Conditional Formating on the 
> > columns.  It wants me to apply it to only a single cell.  I've also tried 
> > copying and pasting special just the formatting.  It turns the cells in ColC 
> > green if they match cell B2 (not the corresponding answer that is in the same 
> > row).
> > Please help!  Thank you!
0
6/1/2009 11:36:01 PM
You're welcome. Thanks for the feedback!

-- 
Biff
Microsoft Excel MVP


"KittyLover" <KittyLover@discussions.microsoft.com> wrote in message 
news:E3F8457B-DCAE-40FC-A4C6-68B932B2A178@microsoft.com...
> You rock!  This worked like a charm!  Thank you!
>
> "T. Valko" wrote:
>
>> Try this...
>>
>> Assume you're answers are in the range C2:C10.
>>
>> Select the entire range of cells C2:C10.
>> Goto Home tab>Styles>Conditional Formatting>Manage rules>New rule>Use a
>> formula to determine which cells to format
>> Enter this formula in the box below:
>> =C2=B2
>> Click the Format button
>> Select the Fill tab
>> Select a shade of GREEN
>> OK>OK
>>
>> Click New Rule
>>
>> Use a formula to determine which cells to format
>> Enter this formula in the box below:
>> =AND(C2<>"",C2<>B2)
>> Click the Format button
>> Select the Fill tab
>> Select a shade of RED
>> OK out
>>
>> -- 
>> Biff
>> Microsoft Excel MVP
>>
>>
>> "KittyLover" <KittyLover@discussions.microsoft.com> wrote in message
>> news:D821C773-79FE-4FAE-B4CF-F3381363345E@microsoft.com...
>> > 2007
>> >
>> > "T. Valko" wrote:
>> >
>> >> What version of Excel are you using?
>> >>
>> >> -- 
>> >> Biff
>> >> Microsoft Excel MVP
>> >>
>> >>
>> >> "KittyLover" <KittyLover@discussions.microsoft.com> wrote in message
>> >> news:46DE396C-9AB6-4239-8A5E-88720D19D6B9@microsoft.com...
>> >> >I am taking practice tests.  ColB contains text (the correct 
>> >> >answers).
>> >> >ColC
>> >> > contains text (my practice answers).  I want the cells in ColC to 
>> >> > turn
>> >> > green
>> >> > if my answer is correct (matches the text in ColB) and turn red if 
>> >> > it
>> >> > is
>> >> > incorrect (does not match the text in ColB).
>> >> > I can't figure out how to get it to apply Conditional Formating on 
>> >> > the
>> >> > columns.  It wants me to apply it to only a single cell.  I've also
>> >> > tried
>> >> > copying and pasting special just the formatting.  It turns the cells 
>> >> > in
>> >> > ColC
>> >> > green if they match cell B2 (not the corresponding answer that is in
>> >> > the
>> >> > same
>> >> > row).
>> >> > Please help!  Thank you!
>> >>
>> >>
>> >>
>>
>>
>> 


0
biffinpitt (3172)
6/2/2009 1:36:02 AM
Reply:

Similar Artilces:

External data link change
Hi, I've a sheet linked to an external data on the net, and I would like that a cell in this sheet to indicate the last date and time it was updated, the simplest way the better but I can do some programming too. Thanks for your attention, -- Domingos Junqueira No need of help any more, I solved the question. Thanks again ...

Import from Notepad delimited text
Is it possible to import from Notepad . There is a table with pipe delimiters that is automatically generated in a .dat text file using Notepad which I would like to import / link into my database daily. This .dat file arrives via email each day as an attachment. I tried saving the .dat file into a .txt extension but ACCESS wouldn't recognize it . I currently need to use the excel text wizard everyday to convert this file into an .xls format . I then have my access 2003 database linking to this ..xls file. Although I know how to convert this .dat file there are others ...

normalizing a column of numbers
How do you normalize a column of numbers using a chart? I know how to do a chart but not how to interpret it for normalizing Mason, Use a helper column where you normalize your numbers using an appropriate formula prior to charting, and then chart that column with your normalizing formulas. HTH, Bernie MS Excel MVP "mason" <anonymous@discussions.microsoft.com> wrote in message news:81F1FB07-419B-4E41-87D3-25DB75E1EEDC@microsoft.com... > How do you normalize a column of numbers using a chart? I know how to do a chart but not how to interpret it for normalizing. > &...

Why does the change change to a number?
Hi all, I've noticed something wierd and always wondered WHY it happens. When you type a date into a cell, and then change the Formatting of it to a 'general' cell, it turns into a number. How does it come up with that number? What is the significance? i.e. type today's date of "12/7/2007" - change it to a 'General' format, and it then says "39423". I'm a trainer of Excel and this question always comes up. I'm curious myself too. Thanks! Joe It's the number of days since January zero 1900 using Excel default for windows (M...

Sum numbers in a column beyond a certain row, how to?
How to sum numbers in a column beyond a certain row? hi, i don't know if i understand your question correctly, =Sum(A1:A10) -- isabelle Le 2012-02-15 01:25, marsup a �crit : > How to sum numbers in a column beyond a certain row? On Feb 17, 11:30=A0am, isabelle <i...@v.org> wrote: > hi, > > i don't know if i understand your question correctly, > > =3DSum(A1:A10) > > -- > isabelle > > Le 2012-02-15 01:25,marsupa =E9crit : > > > > > > > > > How to sum numbers in a column beyond a certain row? Thanks Isabelle, I a...

changing the way Excel displays selected cells
Is there a way to change the way Excel displays selected cells? I'm interested in viewing all the selected cells highlighted (with light blue for instance), but by default excel highlights all the cells but not the first one the same occurs when you define a range with no adyacents cells Your definition of the display is not quite correct. Excel highlights the current cell, Excel also highlights a selecte range. The currently selected cell is generally the first of a range, bu press enter and the current cell changes and becomes the second, the third etc in the range. You cannot...

Track Changes
How do i remove the track changes in outlook? When i press "Enter", a symbol that represents "Enter" will appears. Same for space etc. ...

DST changes for Exchange 5.5
I noticed the 2007 DST Calendar Update "Exchange tool" is available now: http://support.microsoft.com/kb/930879 This will seemingly take care of calendars for mailboxes still on Exchange 5.5 servers, as Exchange 5.5 is listed as "compatible" . However would this address the CDO issues such as BlackBerry users and OWA users still on Exchange 5.5 ? Thanks in advance, Itrcb4 On Mon, 12 Feb 2007 14:31:00 -0800, itrcb4 <itrcb4@discussions.microsoft.com> wrote: >I noticed the 2007 DST Calendar Update "Exchange tool" is available now: > >http://su...

more on VBA function name change
I thought I'd start a new thread since I haven't received any replies to my first one... To recap: I've declared a function in a module using mixed case: Function TMDE_Category (FormName As Form) I noticed recently that it appeared in the module as Function tmde_category(FormName As Form) I changed it back to the mixed case declaration, saved the module, exited the app, reopened it and looked. The function had changed back to the all lowercase declaration. Things I've tried since the original post: Using the databse documenter, I selected all ob...

Can't Publish changes with Deploy Manager
After a migration process, I can't publish the changes made on CRM. When I try do this in Deploy Manager I get the follow error: ---------------------------------------------------------------------------- ----- Publish done with errors. See the event log to get deitails NETRA-INOVACAO: ***Error*** Failed to download XSL template files from Web Server ---------------------------------------------------------------------------- ----- Can somebody help me? I don't know if the migration process have any relationship with the error. Thank you for pay attention. []'s Vin�cius Pitta...

How to change icon for my application
Hi, I am currently developing an application on visual studio 6.0, and i wish to change the MFC icon on my application header. Anyone can help? Thank you. Raed Sawalha wrote: > Hi, I am currently developing an application on visual studio 6.0, and i > wish to change the MFC icon on my application header. Anyone can help? Thank > you. > > Open the icon resource for editing by double clicking. Then notice the control just above the editing grid that lets you switch between editing the large icon and editing the small one. -- Scott McPhillips [VC++ MVP] thanx that work...

Combine variable number of columns
I have a single spreadsheet with a list of clients, addresses and their product interests. This table will be used to drive a Mailmerge document. In the document, I want to be able to refer to the products in which they indicated an interest. The problem is that while one client may have identified only one product (one column) others have selected anywhere from two to 170 products - each product is in a separate column. I can join two columns with "&", but when I have an inconsistent number of columns how do I do this efficiently? - I will have to do it for each client, e...

Convert dates stored as text
I have Excel 2007 in English, but I sometimes receive data that comes from another applicationes, so dates are stored as text because they come in following format: dd/mm/yyyy. And I have the format mm/dd/yyyy. So, in the same column, I have dates stored as dates, and dates stored as text. Which is the easiest way to convert them all to date format? Thanks in advance. Regards, Emece.- Be careful. I'd bet that those values that come in as real dates aren't what the original data represent. For instance, if you have two values: 25/12/2010 and 01/02/2010 The...

How to MATCH value up a column
I need to match/find the first matching cell up a column. Ideas? TIA! Hi I don't know what you are looking for, but see: MATCH(A2,A1:F1,0) or VLOOKUP(A3,Sheet2!A:B,2,FALSE) -- Please click "yes" if this post helped you! Greatly appreciated Eva "DevourU" wrote: > I need to match/find the first matching cell up a column. Ideas? TIA! Thankx for the reply. Here is my formula:=IF(A11>A10,C10,(IF(A11=A10,A10,"?"))). I need to have IF(A11<A10, search up column A for 1st match, example A4, display next column B4. Clear as mu...

How to change newsgroup message font
Like many other ribbon based programs I sometimes struggle to find how to make a change. This time its how to change the font just for newsgroup messages? regards "nobody" wrote in message news:EWTao.39493$GF5.7129@hurricane... > Like many other ribbon based programs I sometimes struggle to find how to make a change. This time its how to change the font just for newsgroup messages? Newsgroup messages are usually plain text. The font used is that selected at [no name tab] > Options > Mail > Read > Fonts for the encoding specified for the messag...

Border with text
I'm trying to make a border using text. I want to repeat the same phrase over and over again. Idealy, I'd like the words to make a rectangular border for a sign... and when it hit the corner of the page, the phrase would continue down the next angle, and so on, until it made a box. Does anyone have any ideas on how to do this? WordArt would be your only option. If you had a draw program... Serif has a free draw application. http://www.freeserifsoftware.com/ OpenOffice is free and has a draw feature. www.openoffice.org I have a method using WordArt on my web site that might be...

How do I replace the last entire word in text cells?
I understand the REPLACE command but it seems restricted to characters or bytes. I this case, I want to replace the last word in all cells but the word is always different (ie. varying number of characters). Thanks in advance! Array entered (CTRL+SHIFT+ENTER), this will work: =LEFT(A1,LEN(A1)-MATCH(" ",MID(A1,LEN(A1)-ROW(INDIRECT("1:"&LEN(A1)))+1,1),0)) Change the reference to A1 to which ever cell you want. -- Regards, Dave "George" wrote: > I understand the REPLACE command but it seems restricted to characters or > bytes. I this case, I wan...

Notify change of email address when changing ISP
How do I notify my entire address book of an email address when I change ISP's? Thanks By sending a mail to everyone ? If you do so, please use BCC for the adresses, this way you won't spread everybody's e-mail adres to everybody. Niels Bob Baker wrote: > How do I notify my entire address book of an email address when I change ISP's? > Thanks ...

Change a formula to an acual number
I want to change the formula I have created to the number it has created Example: Cell A1 is the number 1. Cell A2 is the formula =a1+1 creatin the number 2. I want this to be a two not a formula. Any ideas? Laura, copy, then paste special, valves -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2000 & 97 ** remove news from my email address to reply by email ** "Laura" <anonymous@discussions.microsoft.com> wrote in message news...

How do I use cond format formula to set cell text and color?
Using MS Excel 2003: As and example, I entered into Conditional Format for cell B1: "Formula is", IF(A1="","Test",""). For true condition, the format is set to fill Yellow and font color red. I'm expecting cell B1 to display, "Test" in red text with yellow background when A1 is blank, but it does not work. No errors are displayed. Any ideas? in my experience you can only set the format,you cant have the word test show up.Apply the format condition only using =A1="" and put a seperate if statement in the cell.If it blank ...

Text Functions
I'm trying to split a text string ... Apart from it not working quite right yet! I'm sure I've over complicated it. Base Data "Path": \\SERVER\X$\data\Team Name\Personal Data\JOE BLOGGS\mail\ \\SERVER\X$\ \\SERVER\X$\RECYCLER\ \\SERVER\X$\$Extend\ \\SERVER\X$\$Extend\Test I'm trying to split into High Level Directory (HLD) / Team/User Directory (TUD) / Team/User Sub-Directory HLD: =IFERROR(SUBSTITUTE(LEFT(Path,(SEARCH("\",Path,(SEARCH("\",Path,(SEARCH("X$",Path,1))+3))+1))),"\\SERVER\X$\",""),SUBS...

Problem Changing an Investment Name
I am trying to change an investment name and Money 2006 tells me "The name or symbol 'TRP Spectrum Income' has already been used for a deleted investment. Please enter a different name." When I go to delete investments the name does not appear! Any ideas on how I get Money to accept the name change? This is the first time I have run into this situation and I have made numerous name changes in Money over the years. In microsoft.public.money, Ken wrote: >I am trying to change an investment name and Money 2006 tells me "The name >or symbol 'TRP Spec...

how do i find color saffron in pub2003
old pub98 had color boxes to choose from now all i get is a color wheel impossible to find a specific color like saffron. please help chefmstobey1968 wrote: > old pub98 had color boxes to choose from now all i get is a color wheel > impossible to find a specific color like saffron. please help Make sure you go to Tools > Options and select Show basic colors in color palette -- Brian Kvalheim Microsoft Publisher MVP http://www.publishermvps.com ~pay it forward~ This posting is provided "AS IS" with no warranties, and confers no rights. ...

Should I change this code?
Should I change 556 to 560???..............Thanks for your help..........Bob Private Sub Command560_Click() On Error GoTo Err_Command556_Click Dim stDocName As String Dim stLinkCriteria As String stDocName = "frmClientInfomation" DoCmd.OpenForm stDocName, , , stLinkCriteria Exit_Command556_Click: Exit Sub Err_Command556_Click: MsgBox Err.Description Resume Exit_Command556_Click End Sub On Sun, 15 Jul 2007 16:37:26 +1200, "Bob V" <rjvance@ihug.co.nz> wrote: > >Should I change 556 to 560???..............Thanks for your help.....

How to copy a column of values into another column where the cells are merged
Hi, I have a sheet with a column that lists some values. I also have a second sheet that has a column where the cells are merged every 4 rows. I need to copy the values of the first sheet into the merged cells, but when I do, I only see every fourth value on the merged cells. Is there a formula or any other way that I can use to be able to copy all the values from the first sheet into the second sheet each value on a different group of merged cells? Thanks! Assume you have values in A1:A5 of Sheet1 that you want to copy into Sheet2, where A1:A4, A5:A8, A9;A12 etc are merged. Put this formul...