Results 1 to 10 of 10

LINEST - exclude x variables and empty rows

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-19-2017
    Location
    London
    MS-Off Ver
    2015
    Posts
    169

    Question LINEST - exclude x variables and empty rows

    Hi, all

    I'm trying to populate a regression model here for multiple parameters here hence, I believe VBA can make my life easier.

    1. Is it possible if the VBA to exclude the x variable(s) for LINEST() formula in cell range J3:M3 if the column(s) is/are empty?
    2. Is it possible if the VBA to eliminate empty rows or rows with "BAD" data?
    3. Is it possible if the VBA can populate the formula to each cell in column G (model) which has good data in instead of having the formula in every cell of the column?

    Hereby I attached my Excel file. Hope anyone can enlighten me. Thank you so much!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to use variables to increment range of cell used in LINEST function
    By gloink in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-20-2017, 12:38 AM
  2. Linest maximum predictor variables
    By varat_pond in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-08-2015, 07:57 AM
  3. Replies: 0
    Last Post: 02-13-2014, 11:42 AM
  4. Replies: 3
    Last Post: 09-11-2012, 02:03 AM
  5. LINEST for dummy variables?
    By BlueFortyTwo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-25-2007, 10:00 PM
  6. Want to use trend() and linest() but some cells are empty, #N/A, o
    By ACcompressor in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-02-2006, 07:55 PM
  7. [SOLVED] LINEST maximum number of predictor variables
    By Peter N in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-18-2005, 10:06 AM

Tags for this Thread

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