How To Copy Blocks Of Formulas Or Conditional Formatting

Sep 11, 2007

Lets say I have a block of cells (lets say A1:E5) that all reference the value in the upper left hand cell (A1). Could be a formula by itself or one embedded within a conditional format. I reproduced the formula and formats in the A1:E5 block by using the absolute cell reference $A$1.

I now want to reproduce that entire block (including the referenced cell A1) multiple times on the sheet, but the catch is that each new block must reference the cell in IT'S OWN upper left hand corner. (e.g. a block located at F10:J15 must use as it's reference F10, not A1).

How can I quickly reproduce those blocks? I have done a search and replace to eliminate the $ symbols within the formulas to make them relative, but that doesn't seem to work within conditional formats.

The issue right now is I am trying to apply conditional formats to a sheet I already constructed. I don't want to overight the formulas in the UL corner, so I am trying to copy and paste the conditional formatting only. Can't seem to figure out how.

View 9 Replies


ADVERTISEMENT

Bridge / Building Blocks - Conditional Formatting In Graphs

Mar 6, 2014

Would like to know if it is possible to create a kind of conditional formatting for graphs. I need to work on a graph and when the value is negative the bar changes of color.

Is there any tool or macro code that can do it?

View 1 Replies View Related

Conditional Formatting Cells That Contain Formulas - NO VBA?

Mar 28, 2013

I need to apply conditional formatting to cells in a column that contain formulas, or more accurately cells that do not. I have a spreadsheet with default values in a column based on a lookup function. I need to know if the user overwrites the default and cannot use UDF's or VBA. I don't think it's possible so my alternative is to include a hidden column that does the same lookup and do the conditional format off of a comparison.

View 2 Replies View Related

How To Change Conditional Formatting With Formulas Concerning Dates

Jan 19, 2014

In my workbook I have several column with dates, these are benchmarks that I need to follow and have my patient's follow. They concern the dates of treatments and of lab work. My last column is Contact Needed and does not contain any formulas or code. Is there a way to change the color of the row to adjust for how close we are to the treatment date or the lab draw date.

I was thinking if I were +/- 7 days from each blood draw the row would be yellow, so I could contact the patient and remind them to get the labs done. If it was over 7 days past scheduled blood draw, the row would be light red, as the urgency to get labs and continue treatment has increased as they are past due. In like manner, if treatment are within 14 days, the row would be yellow so i could call them and set the appointment. If past the treatment date, the row goes red and I have 14 days to get them in or we have to start treatment s all over again.

Book0.5 template.xlsx

View 3 Replies View Related

Can Conditional Formatting Formulas Have Multiple Statements

Aug 20, 2009

Can you have IF and AND statements in Conditional formatting formulas?

I put this and I get an error: =IF(AND($G5=""($H5=<>"")) I was testing the water for adding and OR statment also. I really want if cell G5 is blank and cell H5 or I5 has text, then G5 should be red.

View 12 Replies View Related

3 Color Conditional Formatting Formulas Rules?

Jun 23, 2012

How do I create 3 color conditional formatting formulas for the following rules?:

if today is 15 days or greater before the day in the cell then green

if today is between 14 and 7 days before the day in the cell then yellow

if today is within 6 days to zero days before the day in the cell then results

anything is clear

x8:x21
5/10/2012
5/14/2012
5/21/2012
6/11/2012
6/12/2012
6/12/2012
6/12/2012
6/20/2012
6/22/2012
6/23/2012
7/4/2012
7/5/2012
7/8/2012
7/12/2012

View 9 Replies View Related

Excel 2002 :: Conditional Formatting And Formulas?

Jun 11, 2013

I'm currently trying to set up a spreadsheet on excel, when certain documents need updating. Basically I have a column with the dates in that each document was last updated, I want the cells to turn red (fill colour) if the document has not been updated within the last 6 months and orange (fill colour) if the document has not been updated in the last 4 months. How do I do this?

I am currently using Excel 2002 and am on a Windows XP computer.

View 1 Replies View Related

Conditional Formatting To Highlight Cells With Formulas

Dec 29, 2008

I have searched for a while but can't seem to find where the original thread is at. Could someone point me in the right direction?

View 9 Replies View Related

Apply Conditional Formatting To Range Of Cells That Contains Formulas?

Aug 11, 2012

Is there a way to apply conditional formatting to a range of cells that contains formulas?

View 6 Replies View Related

Copying Conditional Formatting Formulas To Multiple Cells?

Jul 9, 2013

I have applied conditional formatting to a cell using formulas and i want to copy that formatting to a new cell using similar formula but pointing to different cells. Is it possible to do so? I have tried to copy and paste special>formats, but that just copies the conditional formatting with the same formulas.

Sample: =IF($C$5/$C$295>$R$5,TRUE,FALSE)

I want to copy to $D$5/$D$295>$R$5,TRUE,FALSE) without having to paste the new formula in each time.

View 9 Replies View Related

Excel 2010 :: Conditional Formatting 1 Cell With 3 Different Formulas

Feb 16, 2014

Excel 2010

Conditional Formatting 1 cell with 3 different formulas

I am monitoring tank levels using a program called "PI". I need to know if the tank is rising, lowering or staying the same.

I am using conditional formatting to turn red if high, blueif low and yellow if stays the same. Column B, F and J are tank volumns, Column C is in feet and D is in inches.

A B C D E F G H I J K L
1 TIME LEVEL FT IN TIME LEVEL FT IN TIME LEVEL FT IN
2 7:00 3628 18 11 9:00 3456 18 0 11:00 3321 17 3

AB AC AD
1305 5600 3600
LOW HIGH CURRENT

I started using formals =$B$2=$AD$2 COLOR YELLOW
=$B$2>$AC$2 COLOR RED
=$B$2

View 3 Replies View Related

Macro Or VBA To Provide Conditional Formatting Based On Formulas

Mar 13, 2014

Is it possible to record a macro or write VBA to apply conditional formatting to certain columns of cells where there are exceptions/conditions for the different types of conditional formatting? If possible, can those exceptions/conditions be based on a specific type of formula?

See my DATA EXAMPLE picture linked below. On that example, Columns K-Q need conditional formatting but manager wants row 38 to be blue based on the fact that it is using a =SUM() formula. This represents one "part" out of 75 that could be on a given sheet, each "part" has a different number of sub-parts that are used. So I can't just highlight columns K-Q because of the occasional SUM row that needs to be blue.

The conditional formatting that I am currently using in Columns K-Q only apply to K3:Q37 and not to row 38 at all. I currently have conditional formatting on columns K-N, P-Q where when '=ISNUMBER(xx)' returns TRUE is white and when it returns FALSE is light orange. Column O uses '=ISTEXT(xx)' for the same colors. Manager doesn't want to copy paste that formatting and wants it setup as a Macro/VBA.

DATA EXAMPLE - [URL]

RELEVANT INFORMATION

Columns K-Q need conditional formattingColumn K - Formula pasted in only on lines that require the Sales Price to show, will return a number value or error

(=VLOOKUP(B38,'SaleWS'!C:G,5,0).Column L - Formula pasted in every cell in column except L38 is '=IF(Hxx="G",IF(Exx"Description EX",VLOOKUP($Dxx&$Gxx,'PriceWS'!$D:$F,3,0),""),"")'.

L38 has a sum of all above valuesColumn M - Formula pasted in every cell in column except M38 is '=IF(ISNUMBER(Lxx),Ixx*Lxx,"")'.

M38 has a sum of all above valuesColumn N - Formula pasted in every cell in column except N38 is '=IF(Exx="Description EX",VLOOKUP(Dxx,'Material'!A:O,15,0),"")'.

N38 has a sum of all above valuesColumn O - No formulas here, just manual entryColumn P - Formula pasted in every cell in column except P38 is '=IF(H38="P",VLOOKUP($Dxx&$Oxx,'PressWS'!$A:$L,12,0),"")'.

P38 has a sum of all above valuesColumn Q - Formula pasted in every cell in column except Q38 is '=IF(H37="W",VLOOKUP($Dxx,'WeldWS'!$A:$F,6,0),IF(Hxx="T",VLOOKUP($Dxx,'WeldWS'!$A:$F,6,0),""))'.

Q38 has a sum of all above values.Rows where they are using SUM for all the rows above for that part need to be blue

View 2 Replies View Related

Conditional Formatting To Highlight Cells With Formulas (versus Constants)

Nov 24, 2010

Is it possible to use conditional formatting to highlight cells that use formulas, as opposed to having constants?

I have a sheet that uses formulas to provide a default value, but you can type in a number if you want to replace the default. I want to be able to easily identify which ones use the default formula.

If I use functions like FIND, they look at the result of a formula, and not the formula itself.

I know I can write a UDF that will figure it out but I was wondering if there is some built-in way.

View 7 Replies View Related

File Size Increased And Slow After Formulas And Conditional Formatting

Jan 28, 2011

I have an excel file which consist of 12 sheets. The main sheet contain columns from A to EL and 556 rows.

At the moment, i have data on from column A to AI (we will add more data day by day). All data in main sheet are linking to another 4 sheets which basically using IF, VLOOKUP, and Conditional Formatting. My file originally was only 4.6MB in size.

However, after adding the formula (IF & Vlookup) and conditional formatting to the fourth sheet (number of columns is from A to BZ) then the file size increased from 4.6MB to 13.7MB.

My excel file also became very slow and i need to take off the Automatically Calculation option.

View 14 Replies View Related

Copy Rows Formatting And Formulas But Not Values

Jun 4, 2009

How would you copy a row's formatting and formulas but not value. for example: A1 1 B1 =a1+2
I would like the copied row to be: A2 (blank) B2 =A2+2

View 6 Replies View Related

Macro To Copy Formatting / Formulas To New Blank Row

Apr 22, 2014

I am looking for a macro that will copy the row above it, to include formatting and formulas, however not the actual contents. I need the row that's being copied to be hidden from view, which is where the problem stems from. The macro is also copying the 'Hide' formatting and I want to exclude that. This is the current macro I am using:

[Code] .....

View 2 Replies View Related

When User Inserts New Row Copy Formulas / Formatting From Row Above

Jan 29, 2014

If the user inserts a row, I want all formatting/formulas/data validation from the row above to be inherited in the newly inserted row. I want this to occur on sheet1.

When you insert a new row, although the entire new row is selected, the active cell is the cell in column A. So I figured I could base a routine off of the active cell. Here is what I tried:

[Code] .....

I am trying to reference a range. The first cell in the range is above the active cell. The second cell in the Range is above, the active cell, then to the right of the range, then down one. By referring to this Range, I am then trying to use the FillDown method. This code isn't doing anything.

Also, I need Excel to automatically run this code when the user inserts a new cell on sheet1. Would I need an event handler or just put this code inside of the Sheet1 code window?

View 2 Replies View Related

Copy .. Conditional Formatting

Jul 6, 2009

Is there an easy way to copy conditional formatting? I need to copy the same scenario so that it adjusts for each row that it's on (the way formulas do).

For instance, I need to copy cells I4:L4 all the way to rows I84:L84. And I want the rows to adjust depending on what row they're on, like formulas seem to (as apposed to referencing the original cells).

Does that make sense?

View 9 Replies View Related

Insert Conditional Horizontal Page Breaks Around Logical/Visual Blocks

Apr 28, 2006

I run a report that has several blocks of information with blank rows separating them. The blocks change from time to time and across pages so they are not always in the exact same rows.

I'd like a macro that can insert page breaks around a certain number of rows (say 60), but not insert one between two rows that have any content. If the page break would fall between two filled rows I'd want it to go to the nearest blank row instead.

The pages would be about the same size but the blocks of information would not be broken up. That's my idea, anayway. I don't know VB so I can't be sure it's even possible.

Provided this is possible, I'd greatly appreciate the help, as would all the other people in my organization who have to do this on a daily basis.

View 7 Replies View Related

Copy Conditional Formatting To Other Rows

Jan 15, 2010

I'm running a spreadsheet at the moment in 2007, and one of the funcitons I've made it for certain cells to either change format if the number is to big or to small depending on the cell it is.

I have formatted all for one line against duplicate scores on the same line.
The problem is this is time consuming and there are 22 different lines.
Because with Conditional Formating you can't simply drag like you can with formulas, I was wondering if there was a more simple approach. I have demonstrated the formating required on Row 6, and require the same formating on rows 8:10, 14:26, 32:36.

Also, just to make things complicated, the values change for each line.
I have attatched the file. Row 6 with the label DEMO LINE contains all the correct formating I require.

View 3 Replies View Related

Copy And Paste Conditional Formatting

Dec 26, 2006

I am trying to figure out how to copy and paste conditional formatting.

1371908# on hand 16458
ACNF18051 208
ACNF18061 104
ACNF30081 208
1371908 Total416104

1371911# on hand 7053
ACNF18051 208
ACNF18061 104
ACNF30081 208
1371911 Total416104

for instance in the above.. I want to black out any number in the "total" (bold) row that is less than the On Hand Qty (bold and underlined number) and I want to use a running total. For instance for part 1371911 with an On Hand Qty of 7053, the on hand is larger than the the first total of 416 so 416 should be blacked out, it is also larger than 416+104 so 104 should be blacked out as well.

This will continue until the on hand qty is less than the running total. I can conditionally format this one at a time and it could take forever as there are 3000+ lines of spreadsheet. If there is any way that you can tell me how to set the condtional format for one row and then cpy and paste it thoughout the sheet where needed.

View 9 Replies View Related

Conditional Formatting Copy And Paste

Dec 2, 2007

i have an equation in A1, and i use conditional formatting for this cell, if the value of C1 is less than 1000, the result in A1 is red

i want to copy the result and the color of A1 to D1, i use paste value, the value and the color are then copied to D1 at first. but when i modify C1, the color of D1 also changed.

View 9 Replies View Related

Copy Conditional Formatting Between Ranges

Mar 6, 2008

In Excel 2007, is there a way to copy a conditional format from one cell to a range of cells. My conditional format is comparing the value of one cell say A1 to B1, and formatting the cell if the value is different. How do I copy this format to also compare A2 to B2, and C2 to D2 etc.

View 2 Replies View Related

CSE Formulas In Conditional Formatting "Formula Is"

Dec 7, 2006

I have a list of values in a named range called Categories. I use this list in a validation dropdown.

Can I do a CSE formula in the "formula is" field of the conditional formatting dialog such that if one of the values in the list is not chosen, I can color the cell?

I can do a CSE formula to test a list in a cell:

{=if(A1Categories, 1,0)}

This evaluates correctly. I am wondering if there is a way to make this work inside the conditional formatting window. I am trying to avoid the built in error validation msg box options and would love to use this. It's the most efficient way I can think of. I know I can do it by adding another column (and step) and then formatting on the value in there that has the CSE formula, but I thought I'd see if I could learn something new and if this was possible.

View 9 Replies View Related

Copy Cells When Conditional Formatting True

Feb 14, 2008

It brought up my own thread, I didn't realise it untill today, but the answer I been using uses conditional formating to highlight the lowest cells in each row. And as Sicarii pointed out earlier today you can't select a cell my color with conditional formating turned on. can I highlight some other way or can I select cells to copy some diffrent way. This is the VBA I use to select the lowest price.

Sub FIND_LOW_PRICE()
Range("a1:H6").Select
Selection.FormatConditions.Delete
Selection.FormatConditions.Add Type:=xlExpression, _
Formula1:="=and(a1=min($a1:$H1),not(isblank(a1)))"
Selection.FormatConditions(1).Interior.ColorIndex = 6
End Sub

And this is the code that Sicarii supplied and correctly warned me will not work with conditional formating.

Sub COPY_BASED_ON_COLOR()
Dim RngCol As Range
Dim lLoop As Long
With Sheets("Sheet1")
Set RngCol = .Range("A1", .Cells(Rows.Count, 1).End(xlUp))
End With
For lLoop = RngCol.Rows.Count To 1 Step -1
If Range("B" & lLoop).Interior.ColorIndex = 6 Then
Sheets("Sheet2").Range("B" & lLoop) = Sheets("Sheet1").Range("B" & lLoop)........................

View 2 Replies View Related

Copy And Paste Conditional Formatting In Separate Columns?

Sep 23, 2011

I'm trying to figure out how to copy & paste the following conditional formatting down the column.

The conditional formatting I'm using is in cell A1, D1, G1, J1, M1 (so I have to Ctrl click each cell manually & I then choose to "format the values that rank in the:" "bottom 1" & format it green.

I want to copy and paste that all the way down column A, D, G, J, & M and have the conditial formatting pick for each row, not the whole column. eg. A2, D2, G2, J2, M2... A3, D3, G3, J3, M3...

View 7 Replies View Related

Can I Copy Format From Conditional Formatting To Other Sheet Or Cells?

Sep 9, 2003

Can i copy format from conditional formatting to other sheet or cells?

View 9 Replies View Related

Copy Paste Range Without Wiping Conditional Formatting

Mar 12, 2009

I need to apply conditional formats a certain range e.g. I8:I1000. Every time my spreadsheet is loaded with new data, the previous cf are erased, and I have to start all over again.

View 7 Replies View Related

Copy Data Range Blocks

Jan 8, 2008

I would like to copy specific cells (all in one block) to another worksheet, then do a bunch of other things with the data (these steps work already), then go back to the original worksheet and copy the next block of data, repeat about 50 times, then stop at the end of the list.

I can't attach a file as I can't get it under the file size limit but the rows to move (just to any worksheet in the workbook, from there I can manipulate and move as required) each time are row 1 plus all those pertaining to each subject group. So for group 1 it would be row 1 plus rows 6 to 28 - for group 2 row 1 plus rows 29 to 51 - group 3 row 1 plus 52 to 74 etc. If I can just get looping through chunks of data and moving them around under my belt

View 5 Replies View Related

Copy Non Absolute Cell References In Conditional Formatting Formula?

Dec 3, 2012

I have this fairly simple formula which decides whether to shade a cell or not

=AND($X$1<>"TBD",R3<>"None",AC3="Y")

This is set in cell R3 and I want to copy it all the way down the cells in the R column. However, when I copy & paste (and copy and paste using paste special, formatting) the R3 and AC3 cell references do not update to match their relevant rows. eg If I highlight cell R26 the conditonal formatting formula still refers to cell R3 and AC3, not R26 & AC26. I'm using Excel 2010 but I don't recall this happening in 2003.

View 12 Replies View Related







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