Copy conditional statements does not work like it should

bwhyte

New Member
Joined
Nov 22, 2005
Messages
3
When I cut and paste a function from cell B2 to B3, Excel updates the function with new cell numbers

Cut =IF(B2>A2,"true","false") from B2
Paste to B3 becomes = IF(B3>A3,"true","false")

Is there a solution to cutting and pasting conditional statements so that Excel updates the cell numbers?

If not, is there a way to change the color of a cell using an IF function?

If not, I will have to edit 10000 conditional statements.

Thanks
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
75,362
Office Version
365
Platform
Windows
What do you actulaly want to do?

You seem to be contradicting yourself. First you say Excel is updating the cell references, and you don't seem to want that.

Then you ask if there's a way to update the cell numbers.

Do you only want to update the column or row?

As to your last question, you probably want Format>Conditional Formatting...
 

bwhyte

New Member
Joined
Nov 22, 2005
Messages
3
Norie,

Replace the words "conditional statement" with "conditional formatting" and it will make sense. I have created conditional formatting on one cell and wish to copy it to 10000 other cells. When I copy it to the 10000 other cells, I want Excel to update the cells in the formulas. Excel updates functions when they are copied from one cell to another, but does not update conditional formatting when it is copied from one cell to another.

Thanks

Brian
 

bwhyte

New Member
Joined
Nov 22, 2005
Messages
3
Nevermind. My brother suggested that I remove the dollar signs from the conditional formatting formulas ($) and Excel updated the conditional formatting.
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
75,362
Office Version
365
Platform
Windows
Brian
but does not update conditional formatting when it is copied from one cell to another.
Yes it does.:)

Can you tell us what conditional formatting you are trying to apply?
 

Forum statistics

Threads
1,082,139
Messages
5,363,363
Members
400,731
Latest member
Jackserver

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top