+ Reply to Thread
Results 1 to 6 of 6

Simplified Conditional Macro

  1. #1
    Forum Contributor
    Join Date
    09-29-2008
    Location
    usa
    MS-Off Ver
    EXCEL 2010
    Posts
    116

    Simplified Conditional Macro

    Is there a way to simplified this conditional macro?

    Before hand thank you for all help provided

    Please Login or Register  to view this content.
    Last edited by martinez_pedro; 03-27-2011 at 05:51 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    860

    Re: Simplified Conditional Macro

    This does the same?
    Please Login or Register  to view this content.
    Harry.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Simplified Conditional Macro

    Hi,

    Perhaps something like...

    Please Login or Register  to view this content.
    I also question whether you need to format the whole of column I. Won't just the relevant range you're using suffice?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor
    Join Date
    09-29-2008
    Location
    usa
    MS-Off Ver
    EXCEL 2010
    Posts
    116

    Re: Simplified Conditional Macro

    So try both suggestion and i combine them and this is what i came up with
    it when from 577 lines of code to 150
    Thanks guys for you help
    Please Login or Register  to view this content.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Simplified Conditional Macro

    Why not put all those names in a range and have just one format condition with a simple MATCH formula?
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Forum Contributor
    Join Date
    09-29-2008
    Location
    usa
    MS-Off Ver
    EXCEL 2010
    Posts
    116

    Re: Simplified Conditional Macro

    Hey shg can you give me an idea how to piece together this formula?
    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1