= Trend (Week Numbers compared to Month Numbers

PCRIDE

Well-known Member
Joined
Jan 20, 2008
Messages
902
Doing a simple Trend as explained here
TREND function - Excel - Office.com

I was able to do this using 3 month trending and using Month Numbers.

Now I have expanded my sheet for 17 weeks, using WeekNumbers and everything is the same just more columns

Got any ideas? Yes I did Shift CTRL Enter for the array but it worked without doing that as well when I was trending 3 months.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
=TREND(D4:T4,D1:T1,AB1)

D4:T4 is a % Number

D1:T1 is a week number but extracted from the words "Week 50, 2013" using =IF(MID(T3,7,1)=",","0"&MID(T3,6,1),MID(T3,6,2))
I needed to put the If(Mid check because the format of the data for the new year had a comma that I needed to get rid of.
HOWEVER, just testing this with normal numbers, no formula, I still get #Value for the result so its not a formula issue.
Even testing it using Week 1 - 3 vs Month 1-3, still get the error :(
 
Upvote 0
Ok so further investigation it something with the formatting of the Week Numbers.

I copied and pasted values and tried it in another section of the sheet. Still got the same error. When I typed the same number (or different number) over the top of the paste values, the formula started to work, which is strange because it works on the other sheet with Months and the same formula format. I actually copied the monthly report to make the weekly report.

What format is happening that is causing this? I need it to work with the Week Number formulas so as the weeks change, the report updates.
 
Upvote 0

Forum statistics

Threads
1,214,394
Messages
6,119,262
Members
448,880
Latest member
aveternik

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top