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
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
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...
 
Upvote 0
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
 
Upvote 0
Nevermind. My brother suggested that I remove the dollar signs from the conditional formatting formulas ($) and Excel updated the conditional formatting.
 
Upvote 0
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?
 
Upvote 0

Forum statistics

Threads
1,218,756
Messages
6,144,304
Members
450,536
Latest member
DavidRankin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top