Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 273
Default conditional formatting - too many arguments?

Does this conditional formatting equation have too many arguments? If so, is
there a way to simplify the formula to reduce the number of arguments without
losing one of my tests? =AND(AND(AI11<"No Response",AI11<"Get
Back",AI11<"Returning",AI11<"Returned",AI11<"De ad
Case"),(OR(AND(AQ11="",AR110,AW11=""),(AND(AP110 ,AR110,AQ11="MS",AW11=""),(AND(AR110,AW11="",DAY S360(AP11,TODAY())0))))))
I get an unspecified error message when trying to enter it.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default conditional formatting - too many arguments?

Revised & lightly tested,
these 2 expressions were accepted in the CF's Formula Is:

(1) Basically as-is, except for removal of extraneous parens:
=AND(AND(AI11<"No Response",AI11<"Get
Back",AI11<"Returning",AI11<"Returned",AI11<"De ad
Case"),OR(AND(AQ11="",AR110,AW11=""),AND(AP110,A R110,AQ11="MS",AW11=""),AND(AR110,AW11="",DAYS36 0(AP11,TODAY())0)))

(2) A shorter one, simplifying the first AND criterion via using a defined
range "Response" and an ISERROR(MATCH(...)):
=AND(ISERROR(MATCH(AI11,Response,0)),OR(AND(AQ11=" ",AR110,AW11=""),AND(AP110,AR110,AQ11="MS",AW11 =""),AND(AR110,AW11="",DAYS360(AP11,TODAY())0 )))

where "Response" is a defined col range for the values:
No Response
Get Back
Returning
Returned
Dead Case

--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,000 Files:362 Subscribers:62
xdemechanik
---
"Gary" wrote:
Does this conditional formatting equation have too many arguments? If so, is
there a way to simplify the formula to reduce the number of arguments without
losing one of my tests? =AND(AND(AI11<"No Response",AI11<"Get
Back",AI11<"Returning",AI11<"Returned",AI11<"De ad
Case"),(OR(AND(AQ11="",AR110,AW11=""),(AND(AP110 ,AR110,AQ11="MS",AW11=""),(AND(AR110,AW11="",DAY S360(AP11,TODAY())0))))))
I get an unspecified error message when trying to enter it.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 273
Default conditional formatting - too many arguments?

Thank you MAX. Works like a charm! I used the first simplified revision,
simply because I'm not familiar with defined range.

"Max" wrote:

Revised & lightly tested,
these 2 expressions were accepted in the CF's Formula Is:

(1) Basically as-is, except for removal of extraneous parens:
=AND(AND(AI11<"No Response",AI11<"Get
Back",AI11<"Returning",AI11<"Returned",AI11<"De ad
Case"),OR(AND(AQ11="",AR110,AW11=""),AND(AP110,A R110,AQ11="MS",AW11=""),AND(AR110,AW11="",DAYS36 0(AP11,TODAY())0)))

(2) A shorter one, simplifying the first AND criterion via using a defined
range "Response" and an ISERROR(MATCH(...)):
=AND(ISERROR(MATCH(AI11,Response,0)),OR(AND(AQ11=" ",AR110,AW11=""),AND(AP110,AR110,AQ11="MS",AW11 =""),AND(AR110,AW11="",DAYS360(AP11,TODAY())0 )))

where "Response" is a defined col range for the values:
No Response
Get Back
Returning
Returned
Dead Case

--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,000 Files:362 Subscribers:62
xdemechanik
---
"Gary" wrote:
Does this conditional formatting equation have too many arguments? If so, is
there a way to simplify the formula to reduce the number of arguments without
losing one of my tests? =AND(AND(AI11<"No Response",AI11<"Get
Back",AI11<"Returning",AI11<"Returned",AI11<"De ad
Case"),(OR(AND(AQ11="",AR110,AW11=""),(AND(AP110 ,AR110,AQ11="MS",AW11=""),(AND(AR110,AW11="",DAY S360(AP11,TODAY())0))))))
I get an unspecified error message when trying to enter it.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default conditional formatting - too many arguments?

Good to hear. Thanks for feeding back & the rating.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,000 Files:362 Subscribers:62
xdemechanik
---
"Gary" wrote in message
...
Thank you MAX. Works like a charm! I used the first simplified revision,
simply because I'm not familiar with defined range.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
Increase number of conditional format arguments Alison Excel Discussion (Misc queries) 5 February 20th 07 08:51 PM
Conditional Statement with Multiple Arguments swflorida77 Excel Worksheet Functions 2 July 1st 06 02:09 PM
conditional sum - number of arguments problem LesLdh Excel Worksheet Functions 4 October 19th 05 01:48 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 10:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"