Must be the day for...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Must be the day for it more Excel guru help needed!

10 Posts
6 Users
0 Reactions
48 Views
Posts: 9180
Full Member
Topic starter
 

HELP!

So I have a spread sheet which contains decimal values for week periods contained in columns. It looks for values in the cells to the right of it and if there are values in the four preceding weeks or 12 subsequent months show the text "Allocated". If there are no values it shows "No Hours"

=IF(SUBTOTAL(9,INDIRECT("t_Resource_Summary[@["&c_Monday_FourWeeksAgo&"]:["&c_Monday_12MonthsTime&"]]"))>0,"Allocated","No Hours")

Since the beginning of this year it has stopped working. If I change my system date to a date last year it works again.

Does anyone know why this is...?
More importantly - can anyone correct the formula so it will work? I am a simpleton - so the least change solution is preferred!

Thanks,

J


 
Posted : 06/01/2014 2:53 pm
Posts: 27
Free Member
 

what error is returned? is it REF#?


 
Posted : 06/01/2014 3:15 pm
Posts: 27
Free Member
 

I think that whatever the names 'c_Monday_FourWeeksAgo' and 'c_Monday_12MonthsTime' are referencing need to be adjusted.


 
Posted : 06/01/2014 3:19 pm
Posts: 0
Free Member
 

[quote=brakes said]I think that whatever the names 'c_Monday_FourWeeksAgo' and 'c_Monday_12MonthsTime' are referencing need to be adjusted.

+1 they would seem to be worth investigating first. Given that monday four weeks ago is in a different year now then something odd could be happening here.


 
Posted : 06/01/2014 3:21 pm
Posts: 9180
Full Member
Topic starter
 

Yes, brakes, it is a #REF! error.


 
Posted : 06/01/2014 3:23 pm
Posts: 9180
Full Member
Topic starter
 

The items they are referencing are some column headers containing dates. The date is in the format dd_month_yyyy.


 
Posted : 06/01/2014 3:24 pm
Posts: 71
Free Member
 

Do the data ranges under those column headers contain 2014 dates?


 
Posted : 06/01/2014 3:45 pm
Posts: 9180
Full Member
Topic starter
 

njee20, underneath those column headers you only have values for an amount of hours allocated in that week.


 
Posted : 06/01/2014 3:52 pm
Posts: 9180
Full Member
Topic starter
 

Bump


 
Posted : 06/01/2014 8:34 pm
Posts: 4170
Free Member
 

Since it works if you change the system date, there must be something in the spreadsheet that uses the current date. Search for NOW() and if it's there, see how the result is used.


 
Posted : 06/01/2014 9:11 pm
Posts: 268
Free Member
 

I think they are named ranges or hidden tabs? Not near a computer. Could it be sql code behind the ranges?


 
Posted : 06/01/2014 9:19 pm

6 DAYS LEFT
We are currently at 95% of our target!