Purchase spend

Step 1 − Copy sheet: Hold Ctrl + Left Mouse Button and drag the sheet tab to a new position to create a copy of the sheet.

Step 2 − Rename sheet: Left double click on the sheet tab to rename it.

Step 3 − Change sheet color: Right click on the sheet tab to open Tab Color.

Choose Calculation Sheet colour.

Step 4 − Remove columns: Select redundant columns and remove them by pressing Ctrl +

Step 5 − Remove duplicates: Select the whole Supplier name column and go to Data > Remove Duplicates.

Since the data extracts does not only contain data from 2019, multiple criteria must be set not only filtering on suppliers, but also on dates from beginning of 2019 to end of 2019.

To make the formula more dynamic and easier to change if another period should be reviewed, create a Settings Sheet to store the start date and end date.

Name the start date and end date before using them in the formula.

Table: TableSpendSales

Table Header: Purchase spend

= SUMIFS(TablePurchaseOrders[Goods receipt value];
TablePurchaseOrders[Supplier name];[@[Supplier name]];
TablePurchaseOrders[Goods receipt date];">=" & startDate;
TablePurchaseOrders[Goods receipt date];"<=" & endDate
)

Start from one of the existing Number Formats in the Custom category and customize it according to your needs.

Number Format:

# ### K ; -# ### K ; 0

There are no Supplier names in the extract Sales orders. This needs to be added from the Source list extract before using SUMIFS.

TableTableSalesOrders

Table Header: Supplier name

= VLOOKUP([@Material];TableSourceList;
MATCH(TableSourceList[[#Headers];[Supplier name]];TableSourceList[#Headers];0);
0)

Reuse and modify the SUMIFS formula from Purchase spend.

Table: TableSpendSales

Table Header: Sales

= SUMIFS(TableSalesOrders[Sales order value];
TableSalesOrders[Supplier name];[@[Supplier name]];
TableSalesOrders[Sales date];">=" & startDate;
TableSalesOrders[Sales date];"<=" & endDate
)

Use the built-in Conditional Formats with Scales.

Step 1 − Go to Home > Styles.

Step 2 − Select the whole Table column (without Headers) containing formulas.

Step 3 − Select the cell style Calculation.