+ Reply to Thread
Results 1 to 2 of 2

simplifying if statement for filter and finding no data

  1. #1
    Registered User
    Join Date
    01-23-2014
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    36

    simplifying if statement for filter and finding no data

    Hello everyone,

    I have a macro which builds a report to be sent out daily, however some days there are no updates in certain categories.
    The macro copies over certain template lines from a template report, then filters the formatted data sheet and copies the rows over to a report
    the problem is that certain days the filter returns no rows, so I put in a lengthy if statement


    Here is the code I am currently using, I would like to simplify it (the entire macro would run this about 20 times over for different sections)


    Please Login or Register  to view this content.
    any ideas???

    Thanks

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: simplifying if statement for filter and finding no data

    Maybe:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 09-19-2013, 11:24 AM
  2. Can anyone help with simplifying this super long Excel IF statement?
    By YPerez in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2013, 05:35 PM
  3. Finding Keywords and Simplifying
    By Miri_tx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-21-2011, 06:04 PM
  4. Simplifying Conditions for If Statement
    By Airgaf in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-25-2011, 09:21 PM
  5. Simplifying a Conditional Formatting Statement
    By ChemistB in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-03-2007, 03:43 PM

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