+ Reply to Thread
Results 1 to 2 of 2

Selecting only the cells populated with data not just the formula

  1. #1
    Registered User
    Join Date
    12-18-2009
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    3

    Selecting only the cells populated with data not just the formula

    Hello,

    I have a column that has a formula inbeded in all of the cells that automatically gets populated with data from another sheet. What I am trying to do is create a graph on a seperate sheet with only the cells that have data in them by just clicking a button I made. I am not a good programer at all. Any buttons with macro in them I make I record. I can not figure out how to select the cells with only data in them to be put into the graph. Every time I try it selects every cell in the column that is populated with data and the empty ones with just the inbeded formula in them and includes them as zeros in the graph. This graph could have 4 cells to as many cells excel could fit that is why I need this macro to only select the cells in the column with data in them. I hope this is explained enough. Thanks!!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Selecting only the cells populated with data not just the formula

    You can use the SpecialCells functionality to select only formula that have resulted in numbers, like so:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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