I'm sure it's possible to make a one-size-fits-all formula, but it may be easier to just break it down in multiple columns and then convert.
| A | B | C | D | E | F | G | H | I | J | K |
---|
Original format (in one cell) | Latitude | Longitude | | | | | | | | | |
| | | | | | | | | | | |
N34 23 47.6 E64 30 57.8 | | | | | | | | | | | |
N34 50 49.00 E67 49 30.90 | | | | | | | | | | | |
S50 0 0 W73 14 57.984 | | | | | | | | | | | |
S27 15 0.00 W55 31 0.00 | | | | | | | | | | | |
<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: center"]N-S[/TD]
[TD="align: center"]Deg[/TD]
[TD="align: center"]Min[/TD]
[TD="align: center"]Sec[/TD]
[TD="align: center"]Deg Decimal[/TD]
[TD="align: center"]E-W[/TD]
[TD="align: center"]Deg[/TD]
[TD="align: center"]Min[/TD]
[TD="align: center"]Sec[/TD]
[TD="align: center"]Deg Decimal[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]N[/TD]
[TD="align: center"]34[/TD]
[TD="align: center"]23[/TD]
[TD="align: center"]47.6[/TD]
[TD="align: center"]34.39655556[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]64[/TD]
[TD="align: center"]30[/TD]
[TD="align: center"]57.8[/TD]
[TD="align: center"]64.5160556[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]N[/TD]
[TD="align: center"]34[/TD]
[TD="align: center"]50[/TD]
[TD="align: center"]49[/TD]
[TD="align: center"]34.84694444[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]67[/TD]
[TD="align: center"]49[/TD]
[TD="align: center"]30.9[/TD]
[TD="align: center"]67.82525[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]S[/TD]
[TD="align: center"]50[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]-50[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]73[/TD]
[TD="align: center"]14[/TD]
[TD="align: center"]57.984[/TD]
[TD="align: center"]-73.24944[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]S[/TD]
[TD="align: center"]27[/TD]
[TD="align: center"]15[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]-27.25[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]55[/TD]
[TD="align: center"]31[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]-55.516667[/TD]
</tbody>
Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
|
|
|
|
|
|
|
|
|
|
|
<tbody>
[TD]
</thead><tbody>
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]B3[/TH]
[TD="align: left"]=LEFT(
A3,1
)[/TD]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]C3[/TH]
[TD="align: left"]=TRIM(
MID(A3,2,2)
)*1[/TD]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]D3[/TH]
[TD="align: left"]=TRIM(
MID(A3,LEN(C3)+3,2)
)*1[/TD]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]E3[/TH]
[TD="align: left"]=TRIM(
MID(SUBSTITUTE(SUBSTITUTE(A3," ",REPT(" ",50),3)," ",REPT(" ",50),2),50,50)
)*1[/TD]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]F3[/TH]
[TD="align: left"]=IF(
B3="N",1,-1
)*(
C3+("0:"&D3&":"&E3)*24
)[/TD]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]G3[/TH]
[TD="align: left"]=IF(
ISNUMBER(FIND("E",A3)),"E","W"
)[/TD]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]H3[/TH]
[TD="align: left"]=MID(
TRIM(MID(SUBSTITUTE(SUBSTITUTE(A3," ",REPT(" ",50),4)," ",REPT(" ",50),3),50,60)),2,2
)*1[/TD]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]I3[/TH]
[TD="align: left"]=TRIM(
MID(SUBSTITUTE(SUBSTITUTE(A3," ",REPT(" ",50),5)," ",REPT(" ",50),4),50,50)
)*1[/TD]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]J3[/TH]
[TD="align: left"]=TRIM(
MID(SUBSTITUTE(SUBSTITUTE(A3," ",REPT(" ",50),6)," ",REPT(" ",50),5),50,50)
)*1[/TD]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]K3[/TH]
[TD="align: left"]=IF(
G3="E",1,-1
)*(
H3+("0:"&I3&":"&J3)*24
)[/TD]
</tbody>