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 to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,351
Office Version
  1. 365
Platform
  1. 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
76,351
Office Version
  1. 365
Platform
  1. 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?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,120
Messages
5,857,500
Members
431,882
Latest member
saaaaaaaaaaaaaaaaaaaaaa

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
Top