Analyze·Advanced·Playground·45 min·Updated Sep 30, 2026

Analyze customer profitability

Scenario

Costs are rising but revenue is flat.

Mission

Calculate the true margin for the top 50 clients.

Start Files

ClientIDRevenueServiceCost
C-2037228267222
C-1052635818714
C-2007313769480
C-1102068312823
C-1284714436772
Preview — first 5 rows of top-50-clients.csv

Your task

  1. Join the revenue export with the service-cost export on customer ID.
  2. Calculate gross margin and margin percentage for each of the top 50 clients by revenue.
  3. Rank the clients from lowest to highest margin percentage.

Prompt idea:

I have a table of clients with revenue and service cost. Write the Excel formulas to calculate gross margin and margin percentage, then rank clients from lowest to highest margin.

Check Your Result

What is the lowest margin percentage in the dataset (nearest whole number)?

Need a hint?

MarginPct = (Revenue - ServiceCost) / Revenue.

Reveal Solution

The solution files contain the completed challenge. Review the approach to see if you missed any edge cases.

Related Workflows

WORK WITH LIMINALS

Make AI useful for your team.

Get practical help with AI consulting or ask about training courses for your team.