Pöördtabel: Pöördtabel on kestnud 7 päeva -

Lang L: none (table-of-contents)

Pivot-tabeli loomiseks, mis näitab viimase 7 päeva andmeid (või üldisemalt viimast n päeva), võite lisada algandmetele abistaja veeru valemiga, et märgistada viimase 7 päeva kirjeid, seejärel kasutada abimeest veerus, et filtreerida pöördtabelis olevad andmed. Näidatud näites on praegune kuupäev 16. august 2019 ja pöördetabel näitab eelmist seitset päeva.

Väljad

Kuvatud pöördtabelis on neli kasutatavat välja: kuupäev, asukoht, müük ja filter. Asukoht on väli Veerg, Kuupäev on väli Rida, Müük on väli Väärtus ja Filter (veerg abistaja) on väli Filter, nagu allpool näha:

Valem

E5-s kasutatud valem, mis on kopeeritud, on järgmine:

=AND(B5>=(TODAY()-7),B5

This formula returns TRUE when a record date is greater than or equal to today's date - 7, and also less than today's date.

Steps

  1. Add helper column with formula to data as shown
  2. Create a pivot table
  3. Add fields to Row, Column, and Value areas
  4. Add helper column as a Filter, filter on TRUE

Related pivots

Pivot table filter by weekday To create a pivot table with a filter for day of week (i.e. filter on Mondays, Tuesdays, Wednesdays, etc.) you can add a helper column to the source data with a formula to add the weekday name, then use the helper column to filter the data in the… Pivot table last 12 months To create a pivot table that shows the last 12 months of data (i.e. a rolling 12 months), you can add a helper column to the source data with a formula to flag records in the last 12 months, then use the helper column to filter the data in the pivot…

Pivot Table Training

If you use Excel, but don't know how to use Pivot Tables, you're missing out… wasting time trying to do things that a Pivot Table can do for you automatically. Core Pivot is a step-by-step Excel video course that will teach you everything you need to know to use this powerful tool. With a small investment, Pivot Tables will pay you back again and again. See details here.

Huvitavad Artiklid...