How to get column names in Excel from cell coordinates (e.g. A2, B2, etc.)
09:39 19 Jun 2020

I am currently working on converting an Excel table with >100 calculated columns into a DAX table with similar calculated columns.

Excel formulas refer to the columns by their column coordinates, e.g. 'sum = A2+B2', whereas DAX refers the column name in the formula, e.g. 'sum = Principal +Interest'

When I try to convert the Excel version of sum=A2+B2, is there any way for me to find out A=Principal and B= Interest in the spreadsheet?

I am talking about a table which has >50 non calculated columns and >100 calculated columns to be converted to comparable DAX model. Every time I look into a formula for the calculated columns in Excel, e.g.

Interest = =IF(AND(AR7="Pending",OR(V7="Completed",V7="Approved", LEFT(V7,4)="OPEN")),IF(U7*1>0,U7*1,N7)/VLOOKUP(F7,Tax!A:B,2,0),0)

I need to go back and forth in the table to find out what are the corresponding column for each coordinate in this.

excel vba dax powerquery m