+ Reply to Thread
Results 1 to 2 of 2

Help with loop to select range of cells that meet criteria

  1. #1
    Registered User
    Join Date
    03-21-2012
    Location
    Bay Area, California
    MS-Off Ver
    Excel 2011 & 2010
    Posts
    52

    Help with loop to select range of cells that meet criteria

    Excel Gurus,

    I understand the basic concept of loops in VBA but running into some issues. The value in Cell A1 is "*Department", Cells A4/A6/A8 are employee names, and in Cell A10 is "Total Sales". In Cell A13, will be another set of the same data for a different department with "Total Sales" in Cell A40. I need help with looping through data to select range (starting from row that contains "*Department", ending with row that contains "Total Sales), then displaying the address, before finding the next range. Any suggestions?

    Please note that the number of rows between title and total row are not always the same. Furthermore, the data is organized in a format that will be copied into a powerpoint slide.

    Thanks in advance!!

  2. #2
    Registered User
    Join Date
    03-21-2012
    Location
    Bay Area, California
    MS-Off Ver
    Excel 2011 & 2010
    Posts
    52

    Re: Help with loop to select range of cells that meet criteria

    Forgot to mention that dataset extends thru Column E. Anyhow, I found my own answer. Hope this helps someone else.

    Please Login or Register  to view this content.

+ 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. [SOLVED] Deleting rows where range of cells meet two criteria
    By dubcap01 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-23-2015, 04:50 AM
  2. Need to loop to a ceretain value then select a range of cells
    By rosshkerr in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-28-2015, 08:28 AM
  3. LOOKUP Data across a range of cells to meet a specific criteria.
    By ads111ads in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-30-2014, 01:15 PM
  4. Averaging data if cells in range meet criteria
    By gobbledok in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-24-2013, 02:28 AM
  5. Paste range of cells that meet criteria
    By lorena.tgarza in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2012, 09:51 PM
  6. Replies: 2
    Last Post: 11-06-2012, 10:49 PM
  7. sum a range of cells that meet one criteria
    By shanevo6 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-10-2007, 04:06 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