Excel 2013 :: Conditional Formatting Twice And Over A Range?

Dec 26, 2013

Using Excel 2013.

I have two columns of numbers. For a row, if the right number is greater than the left number, then color it green, if it is less then color it red.

e.g.

A1 = 100 B1 = 101, then B1 gets colored green
A2 = 100 B2 = 99, then B2 gets colored red

etc.

I have clicked on conditional formatting with A2 selected, then chose A1 for values greater than and chose green. I then copied the formula for all rows. I then did the same for values less than and chose red.

It is not coloring the cells correctly. On some rows when B

View 9 Replies


ADVERTISEMENT

Excel 2013 :: Conditional Formatting For Image?

May 12, 2014

What I'm looking to do in Excel 2013 is have it so a specified cell loads an image based on the results of a range of cells.

For example:
If cell B1 = red
and cell B2 = up
and cell B3 = yes
then cell A5 shows image X.

But then have it be comprehensive enough to do
If cell B1 = green
and cell B2 = down
and cell B3 = no
then cell A5 shows image Y.

My hangups are trying to get different images to load in the same cell. Also, all the examples of this I've found are pulling from one cell where I need it to display an image based on the results of multiple cells.

View 9 Replies View Related

Excel 2013 :: Conditional Formatting - When Set B3 To Closed Nothing Happens

Aug 13, 2014

I have a row of data in Excel 2013 that is roughly as follows :

Cell A2 - Date || B2 - Status || C2 - Description || D2 - Estimate Time || E2 - Comments

Cell B2 is a pick list of statuses --> Open || In Progress || Closed

The conditional rule I want to create is one where if B2 = 'Closed', format the text of the entire row (cell A2 to E2) to turn light blue.

I was successful in doing this --> basically highlighted A2 to E2; conditional formatting; new rule; use formula; $B$2 = "Closed"; format text color blue.

When I do this, now when cell B2 = Closed, the line turns blue.

The issue is I want this condition to apply to row 3, 4, 5, 6, 7 etc ... basically a multi-row list.

I highlight the cells (A2 ~ E2) and then grab the bottom right corner of E2 and drag down 5 rows (creating row for A3 / A4 / A5 / A6 / A7).

The issue is when I set B3 to Closed, nothing happens; likewise for B4 or B5 etc ...

When I set B2 to Closed, it changes itself and all the rows below to light blue.

This used to work in earlier versions of Excel, but I can not see to get this working in 2013.

View 3 Replies View Related

Excel 2013 :: Conditional Formatting From Color Code Table?

Nov 20, 2013

In the attached example, you will find column C which has a bunch of qualitative results. Also, in the file or worksheets, you will find Table A which has a color code range.

I would like to have a conditional format down column C that will reference Table A, regardless if it's on in the same worksheet or on another worksheet within the same file?

Using Excel 2013

View 14 Replies View Related

Excel 2013 :: Extract Cell Value If It Has Conditional Formatting Color?

Mar 26, 2014

I have been trying to make a macro to automatically calculate the quantity I need to increase or decrease our purchase orders.

example.jpg

As the On Hand quantity decreases I have set conditional formatting to determine how much we should order according to a percentage of the Stocking Level and turns the desired cell yellow. For each row the macro would need to identify which cell in columns L through O is yellow from conditional formatting, use that value and subtract the On Order quantity, then put the result in the Adjust PO Qty (+/-) column so I know how much to decrease the order if negative or increase if positive.

View 1 Replies View Related

Excel 2013 :: Conditional Format Named Range

Mar 15, 2013

I have a spreadsheet that keeps track of the equipment we have on rent. Whenever we have a new rental, I insert a row and enter the information. I have several conditional formats I am applying - (1) making the font a light grey so that it is hard to see on any rental that has been called off, but invoicing isn't complete on, (2) making the font red on any item that is within 3 days of the term, and highlighting any row that isn't showing an invoice in over 45 days. When anything is completed (rental has been called off, and the final invoice has been approved), I cut the row out and put it in a sheet entitled "Closed Equipment". When I cut out closed records or add new records, it will occasionally mess up my conditional formatting by only referencing one row. Additionally, I don't want the conditional formatting to transfer over to the "Closed Equipment" tab.

Would this be easier to keep clean and straight if I used VBA? Or should I just continue to occasionally check my conditional formatting and clean it up? I thought if I used a Named Range instead of cell references, it might work better, but entering named range "On_Rent" converts to the cell range ($A$4:$AA$194).

I am using Windows 8, Excel 2013. The file is on a network drive, and others in the office can look at it (they all run Windows 7, and either Excel 2010 or 2007), but they look at it so seldom.

View 1 Replies View Related

Excel 2007 :: Crashing Using Named Range In Conditional Formatting?

Feb 10, 2014

I have one simple (but large table). It has dates across the top (formatted in hh format). I would like the associated table to format according to the day and also to format differently when there is a public holiday. So I have built a table with the holidays and named the relevant cells as "Holiday_Valid".

I have the following formula in the conditional formatting;

[Code]....

Where D11 has the current day in question and Holiday_Valid is a list of public holidays. Since there is a cell for each hour of each day I am using "int()".

There is a second conditional format to format Sundays differently as below;

[Code] .....

My problem is that these both work well....but then after a few minutes the whole sheet crashes with those dreaded "Trying to recover your data" and "Excel will restart" etc.

I have removed references to named ranges and so far - so good....but this means putting the validation table in the same sheet as the main table. In the past I have been able to use named ranges (albeit not in such convoluted formulae), but now it seems that it is not working any longer.

When I open the recovered sheet, all the conditional formatting has been removed and the message from the repairs is that there was some invalid conditional formatting.

Extensive web searches did show some issues with conditional formatting using names ranges....especially with frozen panes....which I need use with a sheet this big.

View 4 Replies View Related

Excel 2007 :: Applying Conditional Formatting To A Dynamic Named Range?

Jul 10, 2012

I have an Excel 2007 Workbook which is refreshed by a Web Query. I have dynamic named range defined as "Manager" which I've confirmed is correctly identified. This range includes only one column and is formatted as text.

When I try to reference this range in my conditional formatting "refers to" formula, all cells are recognized as blank even though the range clearly contains many cells that are not. For example, there are 90 records containing the initials "PD". If I use the formula =Manager="PD" in my conditional formatting, nothing changes. If I change it to =Manager="" then ALL records are formatted, including those that are not blank.

Stranger still, if I enter the formula =COUNTIF(Manager,"PD") into and empty cell in my worksheet those 90 records are counted correctly. Which leads me to believe it isn't about the data. Conversely, =COUNTIF(Manager,"") returns the correct count of only cells that are, in fact, blank.

I've tried using the OFFSET formula defining my range in place of the name itself for my conditional format formula to no avail.

View 2 Replies View Related

Excel 2010 :: 3+ Conditional Formatting Rules For Cell Range Based On Formula From Other Cells

Feb 5, 2013

how to apply conditional formatting via VBA to a range of cells based on input from another range of cells. Obviously this would be easy in Excel 2010, but I'm still using 2003 at the office and it needs to stay in this format to be readable by other users:

For cells M8:EK8, my conditional formatting
condition 2: Formula Is =AND($E$8>=M2,(($E$8-$D$8)>=(N2-$M$2))), color index is 40
condition 3: Formula Is =AND($F$8<=M2,$G$8>=M2), color index is 39
I want to add:
condition 4: Formula Is =AND($H$8<=M2,$I$8>=M2), color index is 40
condition 5: Formula Is =AND($J$8<=M2,$K$8>=M2), color index is 39
and so on

The cells in the range M8:EK8 are blank, they only get colored based on input added to D8 to K8. If there is no input, then the cells should be uncolored.

resource tracking ex.jpg

View 1 Replies View Related

Excel 2013 :: Conditional Count If Formula

Apr 4, 2014

I am working in Excel 2013.

My objective is to count the number of "Horizontal-Horizontal" entries in Column D for a specific value in Column C, BUT (and this is where I am lost), taking into consideration only unique values in Column A.

So, for the highlighted red entry in my spreadsheet sample below, there are 2 entries of Horizontal-Horizontal for Column C value A2961. BUT since, Column A entries for A2961 are duplicates, I want to return a value of 1. Hope this makes sense.

This is my formula that is working for the first part of the equation. I need to add something to it to condition the count based on unique values in Column A.

=COUNTIFS($C$2:$C$101192,C2,$D$2:$D$101192,"Horizontal-Horizontal")

A
B
C
D
E
F

4229532326
HORIZONTAL
A1657
Vertical-Horizontal
A1620
0

[Code] .........

View 4 Replies View Related

Excel 2013 :: Formatting Charts On Protected Sheet

Aug 12, 2014

I am gaining an error in my code due to the sheet being protected.

I cannot seem to get the correct code to allow for the code to still run, while the sheet is protected.

[Code] .....

I tried protecting the sheet via:

[Code] ....

But I still get an error.

View 2 Replies View Related

Excel 2013 :: Table Formatting Including Headers

Aug 28, 2013

I have a set of data that I formatted as a table, including headers. It seems that the columns are numbered, and after the column header is a number. i.e., Sales 2, GP Freight 3, etc.

I have spent some time researching this and came up empty. Is there a way to disable this part of table formatting?

View 2 Replies View Related

Excel 2013 :: Formatting Of Entire Worksheet Changes Unexpectedly

Jan 20, 2014

In Excel 2013 x64 (EN; CZ locale) I have this funny bug. I work on a large vba project and sometimes when I open it, every cell in every workbook that had default formatting now has this numberformat (shown as "Accounting")

"_-* #,##0.00 [$Kč-405]_-;-* #,##0.00 [$Kč-405]_-;_-* ""-""?? [$Kč-405]_-;_-@_-"

its seems that this formatting is assigned to styles --> Normal and it just messes up everything (pivots, slicers...) and cannot(!) be undone.

I have made some routines to check for this error on workbook.open and workbook.close and I also have file versioning. I check for the error regularly on every worksheet change, but it never comes up, nor does it whenever I close the workbook, so Im having hard time detecting when it occurs.

Sometimes when I try to open the workbook its just all messed up. When I go trough the versions, couple of them back still has the error which means it was already saved with it.

All I could figure out so far is that it sometimes happens when I try to copy some cell and paste it elsewhere (but later it works fine)

I'm 99.9% sure that my code is not causing it by accident or purpose. Now I just found the problem on different workbook that might have been opened at the same time. If you're interested, have a look here [URL] ......

View 2 Replies View Related

Excel 2013 :: How To Add Date Range

Mar 4, 2014

I have a big spreadsheet with IT / Finance data. Below is the formula, I currently have. I am summing column Y in Tab Savings Data Detail, where column A does not equal Parent, and The Value in Column AK on the Savings data details tab matches the value in current tab for cell B26 and where column G on the savings detail tab equals Transition to IT. I am adding that value to the second sumifs statement essentially the values in column X on the savings detail tab with the same criteria.

Now I need to add to each of these formulas. I need to sum only the values where the date value in column W on the data details tab is greater than or equal to 01/01/2013 and less than or equal to 12/31/2013

find the easiest way?

=SUMIFS('savings data details'!$Y:$Y,'savings data details'!$A:$A,"Parent",'savings data details'!$AK:$AK,$B26,'savings data details'!$G:$G,"Transition to IT")+
SUMIFS('savings data details'!$X:$X,'savings data details'!$A:$A,"Parent",'savings data details'!$AK:$AK,$B26,'savings data details'!$G:$G,"Transition to IT")

View 1 Replies View Related

Excel 2013 :: Get Range Of Results From Input

Aug 31, 2013

Here is an example of what I am trying to do in E2013.

The orange Bin is my input. It want that to return the column associated with the # as show in orange output column. I think this is an index command? I cannot seem to make it work.

Also - is there an easier way to insert sheets other than a screen grab and photos?

View 5 Replies View Related

Excel 2013 :: Printing A Range Of Cells?

Jun 11, 2014

I am using Excel 2013

I need to print to a printer that is not the default printer, a range of Cells e.g. B4:L28 on Sheet Print Out.

The code is to be added to a VBA routine that already exists that collects & arranges the data on the Print Out sheet from other sheets in the workbook. This routine is assigned to a button on another sheet.

View 2 Replies View Related

Excel 2013 :: Mirror Range Of Cells In Different Sheets?

Jul 9, 2014

I would like to mirror a range of cells between two sheets in the same workbook, so that if the data is manually input into one of the cells in range (E5:H11) in 'Sheet 1', it is automatically updated in the corresponding cell in (H33:K39) of 'Sheet 2', and vice versa.

Using Office 2013. T

View 6 Replies View Related

Excel 2013 :: Eliminating Blank Cells In Range In Row?

Nov 5, 2012

I am using windows 7 64bit sp1 and excel 2010 32bit sp1

I am trying to fix this formula (it takes a range in a unique column, and multiple row:

Code:
=IFERROR(INDEX($B$1:$B$6,SMALL((IF(LEN($B$1:$B$6),ROW(INDIRECT("1:"&ROWS($B$1:$B$6))))),ROW(A1)),1),"")
from here

I want to make it work on my array in a row, like this: (i need to remove the blank cells and the output have to be still in a row)

value1
empty cell
empty cell
value 2
value 3
empty cell
output:
value1
value2
value3

I need a function becouse I have dynamic table with something like 10k rows and 50 columns.

View 2 Replies View Related

Excel 2013 :: Find And Replace Values In Selected Range?

Jul 13, 2014

I have Excel 2013. I would like to use the code below but I need it to let me select the range instead of specifying it in the code, then pop up a form into which I can fill in what I want it to search and what I need it replaced with.

[Code] ......

View 3 Replies View Related

Excel 2013 :: VBA Macro For Selecting Current Week Range

May 30, 2013

I currently have this beast of a code running in Excel 2013:

HTML Code:
Sub OBTAIN_RAW_DATA_MACRO()
Dim NextCol As Long

'Copy data
Workbooks.Open Filename:= _

[Code] ........

However the issue lies in that once the data is refreshed, the slicers reading off the above raw data/pivots, automatically select all weeks, however this is not beneficial for the data being presented.

Is there anyway to have, once the Pivots have been updated, for the macro to then check and select current week range (beginning Monday) only?

View 4 Replies View Related

Excel 2013 :: Formula Test If Value Matches Any Item In Array Or Range?

Mar 19, 2014

Using Excel 2013,

It trying to see if the Month() of a date is in a Array / Range

I tried =IF(MONTH(E8)={2,6,9,11},"Yes","No") where E8 = 9/30/12

View 2 Replies View Related

Conditional Formatting Against A Range

Apr 30, 2009

I have a list of names that belong to a particular group. What I want is to conditional format a sheet so that if a name is entered that does not belong to the group it is highlighted red. Don't really know how to do this though?

View 4 Replies View Related

Conditional Formatting A Range

Apr 13, 2009

I have a spreadsheet that has a table listing employee names in the far left hand column (A1, B1, C1, etc.). The table has a simple border - black line throughout.

I need the entire row for the employee to change to no border if the employee's name is deleted.

View 2 Replies View Related

Conditional Formatting For Range

Jan 8, 2010

Using the following conditional formatting formulas:

=(isblank(p99)) then the formatting of (applies to) C99:O99 will be in red and bold

=(d99="Prod.") then the formatting of C99:P99 will be blue and bold

but the results are not as expected. Is something wrong with these formulas?

View 4 Replies View Related

Excel Using Conditional Formatting?

Apr 21, 2014

I have a spread sheet that shows dates when people have been assessed to be fit to carry out exercise I want to be able to put dates into a cell that are older than today e.g. 07.07.2013 and it turns the cell green then 11 months from that date the cell turns yellow and 12 months from date cell turns red. I can get conditional formatting to do this from the present date but not from older dates .

07,. 07. 2013 = Green
07.06. 2014 =Yellow
07.07.2014 = Red

View 14 Replies View Related

Conditional Formatting: Compare Range To Another Range

Oct 11, 2006

I was looking to use the VBA conditional formatting script posted on OzGrid and was curious if it would be easy to make some slight modifications.

Private Sub Worksheet_Change(ByVal Target As Range)
Dim icolor As Integer
If Not Intersect(Target, Range("A1:A10")) Is Nothing Then
Select Case Target
Case 1 To 5
icolor = 6
Case 6 To 10
icolor = 12
Case 11 To 15
icolor = 7
Case 16 To 20 ..........................

I can see that Case is the number range referenced to change the background...However, would it be possible to have it read a cells value as the criteria for the color change? Currently, I would like it to reference values in range I2:M2 and anything matching those cells in range A4:E28 change background to icolor = 30. I'm just not sure what to replace Case with to make it refence cells I2:M2

View 6 Replies View Related

Conditional Formatting Using Named Range

Aug 15, 2014

I have a sheet called Quote Summary and a sheet called AssemblyBoms.

In the Bom sheet, I have a named range for QtyPer and a named range for unit price because these ranges are dynamic.

On the quote summary sheet, I want to format the cell (A9 and eventually A9 to A28 and so on), which contains a formula right now that only references a tag and does some equivalence checking

(=IF(AND(QSA>0,QSA=qty1a),assembly1,"")),

to have a yellow background if QtyPer>0 but unit price = "" or 0. I know the formulas for this, but it is not formatting anything. Attached workbook below.

QUOTETEMPLATEMACROTEST.xlsm

Conditional Formula for true:
="AND(qtyper1 > 0, unita1 = "")"

I typed it in without the = or "", but the formatting added those in for me.

I typed a number in the qtyper1 range and left the unita1 range blank to test it and no formatting has occurred.

View 10 Replies View Related

Conditional Formatting With Date Range

Feb 26, 2014

I have a column of dates in column M, and in A1 I have the formula =TODAY() for today's date. I would like to conditionally format all of column M (up to row 198) so that it turns orange if the date in M is before today and after or equal to 3 working days before the date in M.

I have this
=AND($A$1<M2,$A$1>=(WORKDAY(M2,-3)))
But it doesn't appear to be working because it's highlighting dates after todays date.

View 6 Replies View Related

Conditional Formatting: Select Range Only

Mar 31, 2009

Have a spreadsheet using the following conditional format to color highlight every other row: =MOD(ROW(),2)=1. Is there a way to apply this conditional format to all columns A through AR and all rows 1 through 24000 only?

View 3 Replies View Related

Conditional Formatting A Range Of Cells

Nov 26, 2009

I'd like my conditional formatting to format the range of cells red if the range K2:S2>H2. That is when the range K2:S2 are added together, and if their sum is greater than H2, format cells K2:S2 red.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved