Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Convert Wolfram positions to spreadsheet coordinates
ResourceFunction["PositionToSpreadsheetIndex"][{row,col}] converts a position pair to a spreadsheet cell reference such as B3. | |
ResourceFunction["PositionToSpreadsheetIndex"][col] converts integer col to a spreadsheet column letter. |
Convert a Position tuple to a spreadsheet coordinate:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
If only a single integer is given, it will be converted to the corresponding column designation:
| In[3]:= |
| Out[3]= |
The resource function SpreadsheetIndexToPosition is the inverse of PositionToSpreadsheetIndex:
| In[4]:= | ![]() |
| Out[4]= |
| In[5]:= | ![]() |
| Out[5]= |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License