X
Data Analytics | Data Science | Data Strategy

How To Excel With Alteryx

Let’s face it – most of us got our analytical starts in Excel. We were asked to create complex functions or automate manual data entry and suddenly we were hooked. We pride ourselves on our ability to stretch the limits of Excel, making it do things it was never meant to do.

But what happens when you’ve pushed Excel a little too far?

  • Your SUMIFS or XLOOKUP functions take forever to calculate.
  • The file is too big to open efficiently (or open at all – hello 1M row limit!)
  • You’ve linked your calculations to so many other files it’s impossible to trace the dependencies.
  • You can’t scale and you think your time could be spent doing more high value work.

Do any of these issues sound familiar? Have you downloaded the free 30-day trial of Alteryx Designer, but you’re not quite sure where to start? Here’s a crash course on how to Excel with Alteryx!

Aggregate Functions 

If you’re an Excel user, you’re probably familiar with the conditional aggregation functions. Functions such as AVERAGEIFS, COUNTIFS, SUMIFS allow you to aggregate data based on certain conditions.

In our example below, we have visit and spend information by customer, with customers grouped into customer segments. If I wanted to find the total spend, average spend, and count of customers by customer segment I could use the SUMIFS, AVERAGEIFS, and COUNTIFS functions respectively (I could also insert a PivotTable and achieve the same results).

In Alteryx, the “Summarize” tool can group and aggregate data. In the Configuration Panel of the tool, add “CustomerSegment” to the bottom “Actions” using the “Group By” action. Then add Spend with aggregations for both sum and average. Finally, add CustomerID using the count distinct aggregation.

VLOOKUP

Enhancing data is often necessary to provide critical information for data analytics. Using our customer visit and spend data, let’s enhance our data set by adding the customer segment manager as a column in our data.

In Excel, we could use a VLOOKUP function to look up the customer segment and return the manager’s name:

In Alteryx, we can use the “Join” tool to achieve the same result. Connect the Customer Data to the left input anchor of the join tool and connect the manager data to the right input anchor of the join tool. Configure the join tool by selecting the join field “CustomerSegment” (this would be your lookup value in a VLOOKUP function).

Standard Calculations

There are times we want to enhance our data by adding columns that contain simple math functions or conditional IF statements. Using our customer data, let’s add two columns: a column for the spend per visit as well as a column for spend group (grouping customers into two groups: customers who spend less than $200/visit and customers who spend $200 or more/visit).

To create the spend/visit column in Excel, you would simply select the spend cell and divide it by the visit cell:

In Excel, you can use an IF function to create the “Spend Group” column:

In Alteryx, you can use the “Formula” tool to create these types of calculations. Unlike in Excel, you can’t just reference specific cells to create calculations (like with the spend/visit calculation above). In Alteryx, you have to reference the actual dimensions (the column names), so in this case, your calculation for Spend/Visit is literally the Spend column/Visit column. The conditional calculation for spend group has similar logic to the Excel function, but I typically prefer to use the IF/THEN/ELSE/ENDIF logic format available in Alteryx.

Filters

Say we want to filter down our data set to just a single customer segment manager. In Excel, we could apply the filters from the Data pane, then use the filter button on the column header to filter to a given customer segment manager:

In Alteryx, we can use a “Filter” tool to apply a filter to given column in our data. Below, we’ve used a basic filter on the “Manager” column to filter to only results that equal “Jane Austen”:

Alteryx is a powerful tool that can provide efficiency and scalability to the work users are currently doing in Excel. I enjoy helping clients recognize value by finding better ways to automate their business data processes, then using the time savings to identify business value and insights in their data. To learn more about how I and Lovelytics help clients do more with their data, please visit us at https://lovelytics.com/or connect with us by email at [email protected].

Author

Related Posts

Abr 30 2025

Redefining Data Governance for Business Impact

6 Takeaways from Data Governance Visionaries Data governance is under pressure. As organizations advance their AI initiatives and manage increasingly complex data...
Oct 10 2023

Bet on Data: Navigating the Future of iGaming and Sports Betting

A look at the role key trends in customer experience, product innovation, and business growth have in shaping the sports betting and iGaming industry’s...
Abr 13 2023

The Databricks lakehouse TKOs the competition on TCO

Whether you look at hard dollars alone or add other factors, the Databricks lakehouse remains the most strategic investment.

Mar 20 2023

Introducing Gamehouse: A Lovelytics Game Analytics Brickbuilder Solution

Quickly stand up a 360-degree view of your game using Lovelytics’ game analytics Brickbuilder Solution

Ene 17 2023

Data lake + data warehouse = lakehouse: Modernize your data warehouse to a lakehouse

The View from the Lakehouse Blog Series PART 2 Over the past few years, the term “data lakehouse” has grown in popularity. Why?  Fundamentally, a data lakehouse...
Nov 30 2022

Why we bet our business on Databricks, and why you should too

The View from the Lakehouse Blog Series PART 1 Recently, Lovelytics held our first in-person all-hands meeting in more than a year. We gathered at our headquarters in...
Nov 23 2022

Three reasons why I’m thankful to be a part of the Lovelytics team

Most of us are inevitably going to be asked one of the most common questions this time of year: “What are you thankful for?”  Of course, I am grateful for my...
Oct 30 2022

Alteryx Tool Tip: Don’t Fear the Blob

Using the Blob Tools to Output Data into Formatted Excel Templates While “the Blob” might sound like a cheesy horror movie or an unidentified substance you scrape off...
Oct 22 2022

Web Scraping With the Modern Data Stack

I’ve always found web scraping interesting, there’s a massive trove of data available to us in a wide array of formats- it presents the perfect ‘big data’ problem, how...
Oct 12 2022

Alteryx Tool Tip: The Multi-Row Tool

Have you ever added a formula tool to your Alteryx workflow and suddenly realized that your IF/THEN logic is starting to look more like a book and less like a logical...