My intention is to get no. of Today's workorders, no. of upcoming workorders and no. of previous work orders and no. of all work orders. So I used functions in summary sheet as follows:
1.In Today row & workorders column: =FILTER(Workorders,"Workorders[Date]=TODAY()")
2. In Upcoming row & workorders column: =FILTER(Workorders,"Workorders[Date]>TODAY()")
3. In All row & workorders column: =FILTER(Workorders)
4. In Previous row & workorders column: =FILTER(Workorders,"Workorders[Date]<TODAY()")
My time zone is IST. My problem is: In Summary sheet it shows yesterdays work orders as Today's in Today row.
It is creating a lot of confusion.
How to rectify this?
Which formula to use?
Where to use that formula? In summary sheet (In Workorder column)?? or In Workorders sheet (in Date column)?
Today's date as per IST is 23rd. Dates in workorder sheet are 21st, 22nd & 23rd. So, in summary sheet it should be Today 1(23rd), Upcoming 0(none), All 3, and previous 2(21st and 22nd)
try using this =DATE(YEAR(NOW()-(7/24)),MONTH(NOW()-(7/24)),DAY(NOW()-(7/24))) instead of today. 7/24 is to account for UTC to PST conversion so adjust accordingly. Add it as extra column in filter table and use that in the filter formula, and make sure the dates formatted as dates and not auto formatted
@Harshamaddur I think this has to do with when a new calc is triggered. I don’t think the tables recalc every few minutes just in case there’s a formula like today() in them.
I think your filter formula made the computation at the moment you hit the enter key. Then, it won’t re-calculate until some data in one of the tables changes.
Instead, you could do this exact same formula in the app rather than the table. Save the formula to a data cell on an app screen. When the screen loads, the calculation will be performed and you get the freshest data.
No, you don't need the parenthesis around the division.
You will want to use NOW()+5.5/24.
I think @AndrewB is right, though, in pointing out the formulas will not recalculate as the time changes, causing the results to become stale over time. If you don't want to move the formulas into an app, you could try updating them at 12:01 am everyday using an automation.
Hi @Harshamaddur, try removing the quote character before the year as you currently have 3 quotes in your formula, not two or four. The remaining two quotes seem valid to me.
Dates in work order sheet are 28th, 29th & 30th July. In Summary sheet it showing no of workorders (in workorders) column as per UTC date. Not as per IST date.
Even though these formulae not showing error, they are not serving the purpose.