Excel challenges

3 minute read

Excel Challenge 58: Customer Segmentation Using One Formula!

Ilgar Zarbaliyev

Ilgar Zarbaliyev

Join the Excel conversation on Slack

Ask a question or join the conversation regarding Excel challenges on our Slack channel.

Can you build a clean customer segmentation report with a single formula that spills a three-column result?  Everything you need to participate in this Excel challenge can be found below. To take part:

  1. Watch the challenge video and read the instructions below the video.
  2. Review the previously published video(s) and article(s) on which the challenge is based.
  3. Download the Excel worksheet you will use to complete the challenge tasks.
  4. Put yourself to the test!

The scenario πŸ–ΌοΈ

Elif is a Marketing Analyst at a busy retail company. Her manager needs a quick segmentation view to design loyalty programs and promotional campaigns.


Show how much each customer spent last quarter and classify them as Gold, Silver, or Bronze so we can reward them according to spend.


Your mission: create that summary in a single formula — no helper columns, no manual steps.


The data set πŸ“Š

Each transaction row contains:

  • Customer Name

  • Product

  • Quantity

  • Sales Amount, $

  • Date

Take the challenge

Ready to dive in? Download the workbook and show us what you're made of!


The task πŸ‹οΈ

In one spilled formula, produce a three-column report:

  1. Customer Name (no duplicates)

  2. Total Spend across all their transactions

  3. Segment label using these rules:

    • Gold → above $22,000

    • Silver → between $12,000 and $22,000 (inclusive of $12,000 and $22,000)

    • Bronze → below $12,000

goskills excel challenge 58 output

Your final output should be a dynamic range that expands and contracts with the data.


The rules πŸ“Œ

  • βœ… One formula only (it should spill the full 3-column result)

  • βœ… No helper columns

  • βœ… Works if new transactions are added to the table


The clues πŸ•΅οΈ

Here are some nudges in case you're stuck:

  • Think dynamic arrays, like: UNIQUE, SORT, HSTACK, TAKE, or CHOOSECOLS.

  • Aggregate spend per customer with a vectorized approach, such as SUMIFS against a spilled list, or wrap with BYROW if needed.

  • A user-defined function (e.g. LET, LAMBDA) might help in keeping your formula readable.

  • Remember: your single formula should return three columnsIf you’re newer to dynamic arrays, start by getting the customer list to spill — then layer in the total, and finally the segment. Learn more about nesting Excel formulas.

Put yourself to the test! ⏱️

  • Build your one-formula solution

  • Share your formula and a screenshot of your result!

Take the challenge

Ready to dive in? Download the workbook and show us what you're made of!

Advanced challenge πŸ‹πŸΌ

If you'd like to step up your game, think about how you would:

  • πŸ’ͺ sort customers by Total Spend (descending) in the same formula

  • πŸ’ͺ adapt the same one-cell pattern for top-N customers, or additional tiers.


Expert's solution πŸ€“

Here is my take on this challenge.

Join the conversation πŸ’¬

Want to compare approaches or brag about your solution? Post your formula, why you chose it, and any tricks you used in the GoSkills community on Slack.

GoSkills' most popular course Microsoft Excel Basic & Advanced with MVP Ken Puls — has an entire section dedicated to understanding dynamic arrays. Start building your skills now!

Level up your Excel skills

Become a certified Excel ninja with GoSkills bite-sized courses

Start free trial

Join the Excel conversation on Slack

Ask a question or join the conversation regarding Excel challenges on our Slack channel.

Ilgar Zarbaliyev

Ilgar Zarbaliyev

Ilgar creates content on data analysis, business intelligence, and innovative training methods. With over 20 years of experience, he is the Senior Manager at SumProduct Pty Ltd, a Microsoft MVP, and MCT Regional Lead for the CEE region. Currently pursuing a postgraduate degree in AI and ML from Texas McCombs School of Business, he also serves as a European Training Foundation Ambassador, promoting modern educational practices. In his free time, he enjoys watching films and football. Connect with him on LinkedIn here.