0
0
Excelspreadsheet~8 mins

Merging queries (joins) in Excel - Dashboard Guide

Choose your learning style9 modes available
Dashboard Mode - Merging queries (joins)
Goal

Combine customer orders with customer details to see who ordered what and when.

Sample Data

Customers

Customer IDNameCity
101AliceNew York
102BobChicago
103CharlieLos Angeles
104DianaMiami

Orders

Order IDCustomer IDOrder DateAmount
50011012024-01-10250
50021032024-01-15450
50031022024-01-20300
50041052024-01-25150
Dashboard Components
  • Merged Table: Shows orders with customer names and cities. Formula in cell G2:
    =IFERROR(VLOOKUP(B2,$A$2:$C$5,2,FALSE),"Unknown") to get customer name.
    Formula in cell H2:
    =IFERROR(VLOOKUP(B2,$A$2:$C$5,3,FALSE),"Unknown") to get city.
    Drag down for all orders.
  • Total Sales: Sum of all order amounts.
    Formula:
    =SUM(D2:D5)
    Result: 1150
  • Sales by City: Summary table using SUMIFS.
    Formula for New York sales:
    =SUMIFS(D2:D5,H2:H5,"New York")
    Similarly for other cities.
Dashboard Layout
+----------------------+---------------------+
|      Merged Table    |    Total Sales KPI   |
|  (Orders + Customers)|                     |
+----------------------+---------------------+
|    Sales by City Summary Table              |
+---------------------------------------------+
Interactivity

Add a filter for City. When you select a city, the Merged Table and Sales by City summary update to show only orders from that city. Total Sales KPI updates to sum only those filtered orders.

Self Check

If you filter the dashboard to show only orders from "Chicago", which orders appear in the Merged Table? What is the Total Sales value?

Key Result
Dashboard merges customer and order data to show detailed orders with customer info and sales summaries by city.