Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Excel 2003
I have a series of rows with conditional formatting and I am trying to prevent the formatting from being altered if the rows are copied. The following is not accepted in conditional formatting because I think there are 259 characters (I am guessing that 256 is maximum). So.... Is there any way to shorten the following? =IF(ROW()=22,AND(C$100,C$22<""), IF(ROW()=24,AND(C$101,C$24<""), IF(ROW()=26,AND(C$102,C$26<""), IF(ROW()=28,AND(C$102,C$28<""), IF(ROW()=33,AND(C$160,C$33<""), IF(ROW()=35,AND(C$161,C$35<""), IF(ROW()=37,AND(C$162,C$37<""), AND(C$163,C$39<"") ))))))) Sandy |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The length limit in a refedit (that little box where you enter the formula)
is 255 chars. I can't tell what you're trying to do but to get your current formula to meet the length limit try using a defined name and replace the ROW() function with this defined name. Goto the menu InsertNameDefine Name: RO Refers to: =ROW() OK Then replace every instance of ROW() in the formula with RO. That'll get the formula length down to 238 chars. -- Biff Microsoft Excel MVP "Sandy" wrote in message ... Excel 2003 I have a series of rows with conditional formatting and I am trying to prevent the formatting from being altered if the rows are copied. The following is not accepted in conditional formatting because I think there are 259 characters (I am guessing that 256 is maximum). So.... Is there any way to shorten the following? =IF(ROW()=22,AND(C$100,C$22<""), IF(ROW()=24,AND(C$101,C$24<""), IF(ROW()=26,AND(C$102,C$26<""), IF(ROW()=28,AND(C$102,C$28<""), IF(ROW()=33,AND(C$160,C$33<""), IF(ROW()=35,AND(C$161,C$35<""), IF(ROW()=37,AND(C$162,C$37<""), AND(C$163,C$39<"") ))))))) Sandy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
FIND CHARACTERS within a FORMULA | Excel Discussion (Misc queries) | |||
Characters Qualifying a formula | Excel Discussion (Misc queries) | |||
Number of Characters for a formula | Excel Discussion (Misc queries) | |||
too many characters in formula | Excel Worksheet Functions | |||
In Excel find characters when multiple characters exist w/i a cel | Excel Worksheet Functions |