+ Reply to Thread
Results 1 to 4 of 4

calculating formula only on active rows

  1. #1
    Registered User
    Join Date
    08-11-2009
    Location
    Tennessee
    MS-Off Ver
    Excel 2003
    Posts
    2

    calculating formula only on active rows

    This site has been very helpful in my programming questions so far, but I couldn't find this one on a thread yet.

    I have 3 columns of information, (A) study ID (B) effect size (C) inverse variance. The rows are pasted from other worksheets where other calculations are made. They are automatically pasted into the next empty row.

    After all previous calculations have been made, I need to do some more on this page. I created the code below (well, I recorded it), but it is only for the first row. I can't just paste the formula to every row because then they will not appear as blank rows for the other macros. I want the code to automatically be calculated for every row that has numbers. Thanks so much.


    Please Login or Register  to view this content.
    Last edited by bowles; 08-11-2009 at 04:40 PM.

  2. #2
    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: calculating formula only on active rows

    Please take a few minutes to read the forum rules, and then edit your post to add code tags.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    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: calculating formula only on active rows

    Thanks.

    Maybe like this, assuming the data starts in A7:
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    08-11-2009
    Location
    Tennessee
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: calculating formula only on active rows

    Incredible! Thank you so much. That is just what I needed. You guys always have the answers.

+ 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