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,288
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,288
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,078,471
Messages
5,340,515
Members
399,381
Latest member
impurnasekar

Some videos you may like

This Week's Hot Topics

  • Problem with Radio Button's format control
    I am creating an employee evaluation template (a sample is below) Column A is the category Column B, C D, E and F will be ratings (unacceptable...
  • Last Display on userform to a Listbox
    [CODE=vba] lstdisplay.ColumnCount = 15 lstdisplay.RowSource = "A1:O600000" [/CODE] So when i do this it Displays everything on the sheet i am...
  • Rename and move files to a new location
    Dear all, I have an excel file with the following information. The actual file name is at column A but i want to rename it using the following...
  • Help with True/False Formula
    Hello! Am stumped how to fix this formula, in which my result returns 'True', but it should return False. =IF(AG2=True...
  • Clear extra characters from a provided range of cells
    Dear All, I have following code which gives me desired output to remove extra characters from a provided range. But it takes too much time when...
  • Help with Current and highest streaks
    Hi there, I've just joined the forum and this is my first post. I've already spent quite a bit of time searching the net and this forum for a...
Top