ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

How to get cell reference address from excel

Lumjing
8 - Asteroid

Hi I have a 30000 rows of data with 120 columns. I am comparing the columns and to get the difference and when the difference is there i am flagging them. I want to get the excel cell address when the difference is found for that particular row and column example from the below table (Please find attached a sample data) Difference is found in A. I want to get the cell address like B3 and B4 is there a work way to achieve this. 

 

Input     Output   
Record IDABDifference of A and BRecord IDAColumn NameCell Address
11055  110AB3
2201010  220AB4
1 REPLY 1
dreldrel
9 - Comet

Yes, you can use from openpyxl.utils import get_column_letter inside the Alteryx Python tool, and it is a clean and reliable way to generate Excel column letters.

 

Alteryx Python tool runs a standard Python environment, and openpyxl is supported in current Designer versions. Within the Python tool, the incoming Alteryx stream can be read as a pandas DataFrame using  Alteryx.read("#1"). You can then detect the differences using pandas logic and finally apply get_column_letter to get cell addresses

Labels
Top Solution Authors