Hello,
I am trying to write a trend function with three pieces of data. Company A revenue (which is one fixed value), other company revenues (array and x variable) and other company bonus levels (array and y variable).
The thing is for some of y variables, I have dashes/blanks. Which cell in the y range is not always the same. Trend does not work with some blanks in the data. I can't treat these values as zero or it throws off the "trend" result.
So I need a formula that I can use to run the trend that excludes the y value that has no value (and its corresponding x) from the trend calculation. Please help, needed ASAP. I would do this manually, but I need to do it for many many sets of data.
So my formula is roughly =trend(company bonuses, company revenues, company A revenue).
I need a formula that works when some random cell in the y range is blank; all the other cells in the X range have values.
Help! Thanks.
Bookmarks