Disclosure: This post may contain affiliate links, meaning when you click the links and make a purchase, we receive a commission.

How to Convert Lat Long to UTM in Excel (2 Simple Methods)

Excel by Microsoft is, without question, one of the most powerful computer programs available. We can perform an almost infinite computation on any dataset using the features and tools that Excel provides. In this article, we will explore two straightforward methods anyone can use in Excel to convert latitude and longitude to UTM. Hence, you must follow these 2 simple ways to Convert Lat Long to UTM in Excel.

Download Practice Workbook

You are welcome to get a free copy of the example workbook just below here, and we used that all during the session.

2 Simple Methods to Convert Lat Long to UTM in Excel

The Universal Transverse Mercator (UTM) is a way to project maps and give coordinates to places on Earth’s surface. Like the old way of using latitude and longitude, this is a horizontal way to show where you are. The UTM system divides the Earth into 60 zones, each covering 6° longitude. A grid zone comprises both a location and a band of latitude. Sometimes, only N or S is added after the zone number to show the North or South hemisphere.

For illustration, the following data set has both latitude and longitude values. Using Google Earth, we get these values from some states in America and Africa. We’ll convert latitude and longitude to UTM in Excel using these two methods. Also, I have yet to say I’ve been writing this article with the Microsoft Excel 365 version. You are free to use whatever version works best for you.

convert lat long to utm excel

1. Combine IF, CONCATENATE, and INT Functions to Convert Lat Long to UTM in Excel

Here are the IF, CONCATENATE, and INT functions that we’ll apply in this method. The IF function lets you compare a value with what you expect logically. The CONCATENATE function enables us to merge the contents of many cells into one. Excel’s INT function retrieves the integer component of a decimal value by rounding it down. We can use these three functions to Convert Lat Long to UTM in Excel. Therefore, follow the steps below to perform the task.


  • Firstly, I start by entering the following Excel formula into the cell D5:
=IF(B5>=0,CONCATENATE(INT(31+C5/6),” N”),CONCATENATE(INT(31+C5/6),” S”))

Combine IF, CONCATENATE, and INT Functions to Convert Lat Long to UTM in Excel

  • After that, press the ENTER key to see the result, which is 13N.
  • Now, use the formula used in the D5 cell to get the UTM of the other Lat and Long values.
  • To achieve this, click on the Fill Handle icon.
  • Subsequently, hold it down, and drag it to cell D10.
  • As a result, it will return the desired output, as shown below.

🔎 How Does the Formula Work?

For this formula to make sense, you need to know how to use the following Excel functions:


Now, observe these formulas.

  • INT(31+C5/6)

The mathematical expression gives the values – {13.36236052;11.56792704;11.18443451;14.66315629;11.98617117;34.99888883}

Then, by involving the INT function we get – {13;11;11;14;11;34}

  • CONCATENATE(INT(31+C5/6),” N”) or CONCATENATE(INT(31+C5/6),” S”)

CONCATENATE(INT(31+C5/6),” N”) joins the output value of INT(31+C5/6) with N. And CONCATENATE(INT(31+C5/6),” S”) merges the output value of INT(31+C5/6) with S. Here, CONCATENATE function concatenates N for true and S for false.

  • IF(B5>=0,CONCATENATE(INT(31+C5/6),” N”),CONCATENATE(INT(31+C5/6),” S”))

Lastly, the IF function evaluates cells B5 to B10 of our specified dataset – {True;True;True;True;True;False}

Therefore, we get – {13 N;11 N;11 N;14 N;11 N;34 S}

Read More: Convert Latitude and Longitude to Decimal Degrees in Excel

2. Transform Lat Long to UTM Through Excel VBA

Microsoft has created the Visual Basic for Application (VBA) programming language. VBA is used to execute various operations, and different user types operate the programming language for multiple purposes. Here we will Convert Lat Long to UTM using some functions of the VBA language. Hence, study the procedure detailed below.


  • At first, choose the active sheet of the workbook to begin.
  • Secondly, go to Developer.
  • Then, click on Visual Basic.

Transform Lat Long to UTM Through Excel VBA

  • Next, select Insert and later click Module.

  • After that, put the following code in the Module box.
Sub SOFTEKOlatLongToUtm()
Dim i As Integer
Dim lat As Double
Dim lng As Double
Dim UTMint
For i = 5 To 10
lat = Cells(i, 2).Value
lng = Cells(i, 3).Value
UTM = 31 + lng / 6
UTMint = CInt(UTM)
If lat >= 0 Then
UTMint = UTMint & " N"
UTMint = UTMint & " S"
End If
Cells(i, 4).Value = UTMint
End Sub

  • Lastly, press F5 or click the Run button.
  • Thus, this is where the output will be directed.

Read More: How to Create Latitude Longitude Converter in Excel (2 Examples)


From now on, you can convert Lat Long to UTM in Excel using the steps we just discussed. On the ExcelDemy website, you can find many articles like this one. Keep using those, and let us know if you have any other ways to get the work done or if you have any new ideas. Remember to post questions, comments, or suggestions in the section below.

Related Articles

Lutfor Rahman Shimanto

Lutfor Rahman Shimanto

Hi there! I am Lutfor Rahman Shimanto. I have completed my graduation in Information Technology from Jahangirnagar University. Currently, I am working as a technical content writer at ExcelDemy. You will find all my articles on Microsoft Excel on this site. Outside of work, I enjoy Chess a lot. I am a founding member of the Jahangirnagar University Chess Club and an internationally rated chess player.

We will be happy to hear your thoughts

Leave a reply