You're welcome. While still on the subject...excel conditional formatting offers 4 conditions already. 1, 2, 3 and the 'else' part gives a choice for 4th formatting (default).
Also for more than 03 conditions, below link offers some ideas. http://www.ozgrid.com/Excel/font-formats.htm Thanks & regards, Abhishek On Wed, Feb 29, 2012 at 1:48 PM, Waseem Saifi <waseemsa...@gmail.com> wrote: > thank you so much abhishek. > > > On Wed, Feb 29, 2012 at 12:43 PM, Abhishek Jain <abhishek....@gmail.com>wrote: > >> This worked for me - >> >> =$H$2="done" 1st formatting >> >> =IF(AND($H$2<>"ABC"),($H$2<>"XYZ"))=FALSE >> OR >> =IF(AND($H$2="ABC"),($H$2="XYZ"))=TRUE 2nd formatting >> >> If there is "done" in H2 it will become blue. If there is "ABC" or "XYZ" >> in H2 it will become red. Else no format would be applied. >> >> Please elaborate if you need anything other than this. >> >> HTH >> Abhishek >> >> >> On Wed, Feb 29, 2012 at 12:32 PM, Waseem Saifi <waseemsa...@gmail.com>wrote: >> >>> Hi All, >>> Is there any possibility to do conditional formatting on based upon >>> more than two conditions in a specific area in excel 2007. >>> for Example:- if($h2="done") then 1st formatting. otherwise >>> if(and($h2<>"",$h2<>""), then 2nd formatting. otherwise no format apply. >>> >>> -- >>> FORUM RULES (986+ members already BANNED for violation) >>> >>> 1) Use concise, accurate thread titles. Poor thread titles, like Please >>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice >>> will not get quick attention or may not be answered. >>> >>> 2) Don't post a question in the thread of another member. >>> >>> 3) Don't post questions regarding breaking or bypassing any security >>> measure. >>> >>> 4) Acknowledge the responses you receive, good or bad. >>> >>> 5) Cross-promotion of, or links to, forums competitive to this forum in >>> signatures are prohibited. >>> >>> NOTE : Don't ever post personal or confidential data in a workbook. >>> Forum owners and members are not responsible for any loss. >>> >>> >>> ------------------------------------------------------------------------------------------------------ >>> To post to this group, send email to excel-macros@googlegroups.com >>> >> >> > -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com