conditional formatting in Excel 2007 - help, please!

I have a large spreadsheet, with the active data area being cells a4:x8659.
In the A column, I have a formula that evaluates to 1 or 0, depending on 
whether the room number in column E has changed from the previous row.

What I *want* to have happen is this:
1) If the value of the cell in the A column for a particular row is 1, set 
the color of the cells in that particular row to color #1 (in this case, a 
nice pastel yellow); 
2) If the value of the cell in the A column for a particular row is 0, set 
the color of the cells in that particular row to white. 

Have tried to follow the instructions in the Help section, but am not 
getting the results I want - yet. 

The range of cells to be checked and colored *is* large. Is this a factor in 
getting the CF to work?

If I've understood the Help File correctly, this conditional formatting can 
be over-ridden by separately and manually-applied cell formatting. Am I 
correct on this?

Any help will be appreciated - greatly!

Barbara
-- 
***************************
Bookaholics of the World, Unite!
You have nothing to lose but your ignorance!
***************************
0
barbara (41)
7/30/2008 7:30:05 PM
excel.newusers 15348 articles. 2 followers. Follow

3 Replies
399 Views

Similar Articles

[PageSpeed] 26

You should be able to do the following

=INDIRECT("A"&ROW())=1

=INDIRECT("A"&ROW())=0

Enter those formulas into conditional formatting and apply the formatting 
you want to each. (Yellow and white is what you want). 

This formatting will need to be applied to all cells in your worksheet you 
want colored.

"Barbara" wrote:

> I have a large spreadsheet, with the active data area being cells a4:x8659.
> In the A column, I have a formula that evaluates to 1 or 0, depending on 
> whether the room number in column E has changed from the previous row.
> 
> What I *want* to have happen is this:
> 1) If the value of the cell in the A column for a particular row is 1, set 
> the color of the cells in that particular row to color #1 (in this case, a 
> nice pastel yellow); 
> 2) If the value of the cell in the A column for a particular row is 0, set 
> the color of the cells in that particular row to white. 
> 
> Have tried to follow the instructions in the Help section, but am not 
> getting the results I want - yet. 
> 
> The range of cells to be checked and colored *is* large. Is this a factor in 
> getting the CF to work?
> 
> If I've understood the Help File correctly, this conditional formatting can 
> be over-ridden by separately and manually-applied cell formatting. Am I 
> correct on this?
> 
> Any help will be appreciated - greatly!
> 
> Barbara
> -- 
> ***************************
> Bookaholics of the World, Unite!
> You have nothing to lose but your ignorance!
> ***************************
0
JBoyer (1)
7/30/2008 8:16:33 PM
>2) If the value of the cell in the A column for a particular row is 0,
>set the color of the cells in that particular row to white.

If you're using the default fill color which is "no fill color" then the 
cells already have a white fill color.

Select the range A4: X8659
Goto Home tab>Styles>Conditional Formatting>Manage Rules
Click New Rule
Select Use a formula to determine.....
Enter this formula in the little box:: =$A1=1
Click the format button
Select the desired style(s)
OK out


-- 
Biff
Microsoft Excel MVP


"Barbara" <Barbara@discussions.microsoft.com> wrote in message 
news:C5C999C4-9BC8-4B63-9C0E-B16AA98D2D49@microsoft.com...
>I have a large spreadsheet, with the active data area being cells a4:x8659.
> In the A column, I have a formula that evaluates to 1 or 0, depending on
> whether the room number in column E has changed from the previous row.
>
> What I *want* to have happen is this:
> 1) If the value of the cell in the A column for a particular row is 1, set
> the color of the cells in that particular row to color #1 (in this case, a
> nice pastel yellow);
> 2) If the value of the cell in the A column for a particular row is 0, set
> the color of the cells in that particular row to white.
>
> Have tried to follow the instructions in the Help section, but am not
> getting the results I want - yet.
>
> The range of cells to be checked and colored *is* large. Is this a factor 
> in
> getting the CF to work?
>
> If I've understood the Help File correctly, this conditional formatting 
> can
> be over-ridden by separately and manually-applied cell formatting. Am I
> correct on this?
>
> Any help will be appreciated - greatly!
>
> Barbara
> -- 
> ***************************
> Bookaholics of the World, Unite!
> You have nothing to lose but your ignorance!
> *************************** 


0
biffinpitt (3171)
7/30/2008 9:56:48 PM
Ooops, typo!

> Select the range A4: X8659
> Enter this formula in the little box:: =$A1=1

The correct formula should be: =$A4=1

-- 
Biff
Microsoft Excel MVP


"T. Valko" <biffinpitt@comcast.net> wrote in message 
news:exHns8o8IHA.5404@TK2MSFTNGP04.phx.gbl...
> >2) If the value of the cell in the A column for a particular row is 0,
>>set the color of the cells in that particular row to white.
>
> If you're using the default fill color which is "no fill color" then the 
> cells already have a white fill color.
>
> Select the range A4: X8659
> Goto Home tab>Styles>Conditional Formatting>Manage Rules
> Click New Rule
> Select Use a formula to determine.....
> Enter this formula in the little box:: =$A1=1
> Click the format button
> Select the desired style(s)
> OK out
>
>
> -- 
> Biff
> Microsoft Excel MVP
>
>
> "Barbara" <Barbara@discussions.microsoft.com> wrote in message 
> news:C5C999C4-9BC8-4B63-9C0E-B16AA98D2D49@microsoft.com...
>>I have a large spreadsheet, with the active data area being cells 
>>a4:x8659.
>> In the A column, I have a formula that evaluates to 1 or 0, depending on
>> whether the room number in column E has changed from the previous row.
>>
>> What I *want* to have happen is this:
>> 1) If the value of the cell in the A column for a particular row is 1, 
>> set
>> the color of the cells in that particular row to color #1 (in this case, 
>> a
>> nice pastel yellow);
>> 2) If the value of the cell in the A column for a particular row is 0, 
>> set
>> the color of the cells in that particular row to white.
>>
>> Have tried to follow the instructions in the Help section, but am not
>> getting the results I want - yet.
>>
>> The range of cells to be checked and colored *is* large. Is this a factor 
>> in
>> getting the CF to work?
>>
>> If I've understood the Help File correctly, this conditional formatting 
>> can
>> be over-ridden by separately and manually-applied cell formatting. Am I
>> correct on this?
>>
>> Any help will be appreciated - greatly!
>>
>> Barbara
>> -- 
>> ***************************
>> Bookaholics of the World, Unite!
>> You have nothing to lose but your ignorance!
>> ***************************
>
> 


0
biffinpitt (3171)
7/30/2008 10:07:08 PM
Reply:

Similar Artilces:

Today Conditional Format
I have a column which calculated a date based on 3 working days from a date input into a diff column. What I want to do I have the calculated date appear bold if that date has passed based on the current date. For example if I input 01/08/11 the next column calculates 04/08/11 (3 working days). I want the caluclated date to appear bold when I open the spreadsheet on the 05/08/11 ro show the calculated date has passed. I can use conditional formatting but can't get the syntax right Regards Andy Win XP Pro Office 2010 Andy Roberts presented the following explanation : > I ha...

Import from Excel
I am running Outlook 2002 and I am trying to import addresses from excel. The addresses are in traditional excel form...A1:name, B1:address, C1:city, etc. It has worked, however, when I import each column under name, address, city, etc., each cell is getting listed under a new contact????? Does anyone know how I can get each address under ONE contact in outlook???? ...

when I open excel file,changes was undid-excel 2007, compatibility
I have a file that was made in excel 2007 working in compatibility mode and when I change format in some cell (for example font size), then I save changes and after reopen this fiel the changes was undid. Can some help me? Sorry for my english isn't very well -- thanks Pedro ...

Two Condition Vlookup?
I am currently trying to create a function that searches through an array for two exact column values which allows me to retrieve a third column value. For example: Type of Fruit Date Packaged Amount of Fruit Apples June 100 Oranges June 50 Apples July 75 Grapes July 50 In this example, I would be looking to retrieve the Amount of Fruit (Apples) that was packaged in July. I would be putt...

Can t read mac-word files containing excel graphs on a PC
I am using microsoft Office X 10.1.4 on a powerbook G4 with operating system OS X 10.3.5 panther. I have created a graph in Excel on its own sheet (ie the one that contains the relevant data). I activate the graph, copy it to the clipboard, switch to Word and do a Paste Special, paste as image. So do I with all the excel graphs I want to insert into my word document (scientific report). The word document is saved under format "microsoft word document". I ve sent my word document to several colleagues who work on PCs. They all told me they could not see the excel graphs. They (the ...

Can't format numbers for France in Excel 2003
I'm using the US version of Excel 2003, but need to format costs, etc., for a project in the French euro format (e.g., I need 2050.45 euros to display as 2 050,45). That currency format isn't offered in my dialog box, and if I make a custom number format that will display correctly, it doesn't operate as a number. Any suggestions? On Wed, 10 Oct 2007 08:51:03 -0700, Mary Fran <MaryFran@discussions.microsoft.com> wrote: >I'm using the US version of Excel 2003, but need to format costs, etc., for a >project in the French euro format (e.g., I need 2050.45 euros...

Sharing tasks in OL 2007
We have a staff Atty office which keeps task lists for Civil (CV) and Criminal (CR) cases by year. There are like 2 - 3 for every year such as CV09 and CR09, however they track for more than just the current year. The person that creates these lists uses some user defined fields so when new users get these shared, they have to create the same fields. My question relates to the inconsistent behavior of the field when adding it to a new task list. Sometimes, the user enters a new field and it is available for subsequent task lists and other times the user has to add teh same new...

Excel Queries using Access data
Im trying to create a query from within Excel. When I select new database query and select a database which has no securtiy login/password, no problem, works fine. However, when I try to source the data from a database which I have created using user logins/passwords it says that I do not have admin privilages to use the database even though I am putting in the correct login/username in the popup window? Please can anyone help? I've had limited experience with this sort of thing but I've always had to strip out the protection on the Access Database and create a copy before suc...

Excel To money
i have a ledger for my checking account in excel that i wish to convert to money format how do i do this ? In microsoft.public.money, WStoreyII wrote: >i have a ledger for my checking account in excel that i wish to convert to >money format how do i do this ? > See http://xl2qif.chez.tiscali.fr/xl2qif_en.php ...

Query condition by date range
I'm trying to create a query to base a report from. I need it to return records within a date range that needs to be specified, as in specifying the beginning date and having the current date as the end date. A field is included in the query that has listed dates in the format mm/dd/yyyy. How would I write the criteria? I have part of it ready - [Please enter starting date:] . I know that's how you get the little question window. On Tue, 4 Dec 2007 14:51:00 -0800, silva wrote: > I'm trying to create a query to base a report from. I need it to return > records within a...

Is there any way to do a rose diagram in Excel?
Is there a plugin or some way to plot a rose diagram in Excel 2003? In article <F6F21C0C-9297-4939-9153-C2AAA85F0A54@microsoft.com>, Jed@discussions.microsoft.com says... > Is there a plugin or some way to plot a rose diagram in Excel 2003? > Check the google.com archives of the XL newsgroups for several leads. Start with http://groups.google.com/advanced_group_search?q=group:*Excel* -- Regards, Tushar Mehta www.tushar-mehta.com Excel, PowerPoint, and VBA add-ins, tutorials Custom MS Office productivity solutions ...

32 bit EPM 2007 tools into 64 bits windows server 2003 ?
Hi, If I will install 32 bit project server 2007,project professional 2007,sqlserver 2005 which are all 32 bit in windows server 2003 which is 64 bit . will be any problem ? Or If I will install EPM softwares in which some are 64 bit and some are 32 bit to be install on windows server 2003 which is 64 bit . will be any problem ? and any requirement before starting to make backend server and front server to install epm 2007 . with 32 bit on 64 bit windows 2003. i am waiting for reply. Basim, you can eihter use 32 bit or 64 bit. Just make sure that you have the right...

2007 excel autofilter change back to 2003?
Is it possible to change the autofilter in excel 2007 back to the way excel 2003 worked? I see you have a response to one of your other posts -- in a different forum. jonnybrovo815 wrote: > > Is it possible to change the autofilter in excel 2007 back to the way excel > 2003 worked? -- Dave Peterson ...

Hyperlink behavior Word 2007: correct page but wrong part of page
I've searched a lot of place but have not even seen anyone else having this problem. Document is a multi-page Word 2007 form template with hyperlinks for navigation. In most cases clicking a hyperlink will take you to the correct page, and the top of the page displays. However on some pages, it either displays the bottom of the page and/or the top of the next page. Sometimes the cursor is in the first form field of the following page. With the template open, view field codes, show bookmarks and show text boundaries, I still can't see what might be causing this behavi...

Conditional formatting if condition of an if statement is true and a string value is displayed
Dear Experts: I got a nested 'IF'-Formula in an excel cell that returns nothing if the condition is false. I would like to conditionally format this cell with grey shading if the condition is true and a string value is displayed. How can this be achieved using excel conditional formating functionality ? Help is much appreciated. Thank you very much in advance. Regards, Andreas Let's say your doing this conditional formatting in cell K17. In conditional formatting (xl2003) choose the FormulaIs: option and enter: =$K$17<>"" choose your formatt...

Format cells #7
I have Excel 2000, Win ME. Recently the pulldown command to format cells does not always respond - ie, no box appears, so I can't apply borders or control number format. The shortcut approach doesn't work either. I've tried Help..Detect and Repair but the fault remains. Any suggestions welcome. ...

Formatting worksheet
I have a workbook with three worksheets and one chartsheet in it. I have notes documenting various aspects of the four sheets. Some of those notes are on electronic post-it notes and others on scraps of paper. It seems to me that a convenient way to consolidate all of my documentation for the workbook would be to add another worksheet to it and put the information in it. What would be the best way to format the worksheet so that I could type information into it as if I were using a text editor? Leslie, Excel isn't really all that set up for text. I sometimes make narrow column...

Conditional Field in Queries
Is there a way to make a field in a query conditional so that it only displays the value if the value is equal to something specifically set? Thanks. Nick Nick.Korynski@gmail.com wrote: > Is there a way to make a field in a query conditional so that it only > displays the value if the value is equal to something specifically > set? Thanks. > > Nick Explain "the value is equal to something specifically set". -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com ...

zip codes not being saved as text in CSV format
I need my file to be saved in CSV format (to import into another application). When I format the zip codes as Text or Special(zip code), they are correct in XLS format, but when I open the file in CSV format they switch back to general. Any solution? work around? Thanks so much for your help in advance!! Melissa Change the file extension to .txt and use the text import wizard to treat the column as text (last dialog) -- Regards, Tom Ogilvy "MelissaM" <MelissaM@discussions.microsoft.com> wrote in message news:B5A02627-810E-4234-8247-267D9B12FA29@microsoft.com... >...

format a column
I have a simple question to ask, I have a column in Excel is number like 142000, I want to format the whole column numbers without the two ending 0s, change 142000 to 1420, how can I do that? Thanks -- xcao ------------------------------------------------------------------------ xcao's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=14538 View this thread: http://www.excelforum.com/showthread.php?threadid=471821 Enter 100 in an empty cell and copy it. Then, select your range of numbers you want to change, Right Click and go to Paste Special, and select Div...

How to return a 12 hour time format without the AM in an Access query
The format function acts differently in a query and after hours of testing, messing, and cursing, I give up. How do you return 12 hour format without the AM or PM from an Access query. In my table, I've defined the Start Time and End Time to use "Medium Time" format and it works if and ONLY if you simple include the field in the query. However, if you use the field in a more complex statement, it returns leading zeros and trailing seconds. Here's what I've tried.... 'This didn't work because it returns trailing seconds and AM/PM. '2:00:00 PM...

Excel VBA programmer needed
Programmer needed visual basic, in excel I own a bee removal company . I keep most my records and calcualtions in excel and I am looking for an excel specialist / vba programmer that can write code to simplify and speed up some of the time consuming tasks. Time is a factor for me, money is less of a factor. I imagine it would be around 80 hrs work. With probable future changes and or additions that would most likley arise. Example: Bee removal work can be divided into two parts, 1 exterminating a hive, and 2. removing the honey from the structure (from 5 to 300 lbs). The field rep exterm...

How do i use Conditional formatting for 3+ conditions ?
I have a text box in a report which highlights in colour current members in a list of past and present member names. I have six types of current members that I want to highlight, but with conditional formatting I can only use 3 conditions in the members [Type] field. I have tried [Type]="Full member" Or "Life member" but the "Or" doesn't work ! Is there a way to do this ? thanks .. Roger CF is limited to 3 contitions, but you can use OR in those expressions. If you set Condition1 to Expression, you can use: ([Type] = "Full member") Or (...

DSOFramer, MFC and Excel
I am developing an application that has a DSOFramer control in a view. The problem is, the control tends to deactivate and the cells will show only after you have resized the form or have hovered the mouse over the cells and scrollbar. I tried setting the FrameHookPolicy to 1 (dsoSetOnFirstOpen) but still.... The funny thing is that it works perfectly in a WinForm(c#) but still has problems updating. I have tried activating it in the OnPaint and ApplicationActivate events but still to no avail. ...

Conditional null value
Wondering if anyone can suggest a way to simplify the following code, which I’m using in the OnFormat event of a report. If Not IsNull(DLookup("[ICD2]", "EntryICDs", "[EntryNum] = " & Me! [PtAcct#])) Then Me![Field192] = Replace(DLookup("[ICD2]", "EntryICDs", "[EntryNum] = " & Me![PtAcct#]), ".", " ") End If If Not IsNull(DLookup("[ICD3]", "EntryICDs", "[EntryNum] = " & Me! [PtAcct#])) Then Me![Field194] = Replace(DLookup("[ICD...