98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Trend function in excel
Trend function in excel
Resolved · Low Priority · Version 365
Uday has attended:
Excel Intermediate course
Trend function in excel
Hello.
I am working on a spreadsheet to forecast billing for next financial year. My spreadsheet is set up as follows:
List of clients in column A (i.e. client on each row from 1 to 200) and financial years as column heads from B (2021) to F (2025)
In column F I an extrapolating data using the trend function from the data in columns B to E.
Where there has been a decline in sales for any particular customer, the trend function is returning a negative amount in column F.
How do I input this formula so that any row which would return a negative number instead returns "0"?
I think this should be done by embedding the trend formula inside an if formula, but i cannot seem to get that right. The box either reads as "false" or the problem with formula box pops up.
RE: Trend function in excel
Hi Uday,
Thank you for the forum question.
As I understand it you work with one independent variable and one dependent variable. Normally the TREND function is used for linear regression with multiple independent variable.
The issue with the TREND function and why you cannot just use an IF is that the TREND function is an array function.
Please copy your TREND function in F2 and paste the function here in the forum. Then I will convert it to do what you want.
Kind regards
Jens Bonde
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us
London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector
Will be marked as resolved in 5 days
Notice: This is an automated message. Due to inactivity, this forum post will be marked as 'resolved' if there are no further responses in the next 5 days.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Date and timeCTRL+ SEMICOLON then SPACE then CTRL+SHIFT+ SEMICOLON |