TroyMorris
New Member
- Joined
- Mar 26, 2011
- Messages
- 9
Hi everyone
I'm trying to put together a sheet where a user can enter data into four cells (N,S,E,W via drop down list in the first box, degrees, minutes and seconds in the remaining three).
Ie. S ## ## ##.##
The formula =G4+(H4/60+I4/3600) then converts the data to a decimal value which Google Maps will accept.
I do this for both latitude and longitude coordinates so I am left with two decimal values in cells J4 and O4 respectively.
What I need to do (firstly) is have excel check the value in cell F4 (which the user enters via drop down list, N or S.
Based on that value, I need the result in J4 to be a whole number or "-".
Ie. ##.###### would be a North value, -##.###### would be a South value.
And likewise for East / West values.
Once that's done, I need excel to grab both values (for example, S & E) and format them in cell Q4 so it represents a link which the user can click on to take them to a google map of that location.
I hope that I've explained that clearly... it sounds right in my head...
If someone could please help me with those two formulas that would be fantastic!
Cheers
Troy
I'm trying to put together a sheet where a user can enter data into four cells (N,S,E,W via drop down list in the first box, degrees, minutes and seconds in the remaining three).
Ie. S ## ## ##.##
The formula =G4+(H4/60+I4/3600) then converts the data to a decimal value which Google Maps will accept.
I do this for both latitude and longitude coordinates so I am left with two decimal values in cells J4 and O4 respectively.
What I need to do (firstly) is have excel check the value in cell F4 (which the user enters via drop down list, N or S.
Based on that value, I need the result in J4 to be a whole number or "-".
Ie. ##.###### would be a North value, -##.###### would be a South value.
And likewise for East / West values.
Once that's done, I need excel to grab both values (for example, S & E) and format them in cell Q4 so it represents a link which the user can click on to take them to a google map of that location.
I hope that I've explained that clearly... it sounds right in my head...
If someone could please help me with those two formulas that would be fantastic!
Cheers
Troy