Hello,
i need to evaluate a paleo diversity database in RStudio but to be able to do the i need to "clean up" the database first. I do not have much excel experience yet so please excuse my probably mundane questions/requests.
This is specifically about paleo latitudes (the Q column in the attached excel file)
In the Database longitudinal and latidutinal coordinates are not provided uniformly. They're usually given in degrees but sometimes they're missing the decimal point. (51.234° = 51234)
My idea was to solve this by using an IF function as follows:
IF X > 90 or X< -90 divide by 1000 else return original value
e.g. if the value is 51.234 it returns 51.234; if the value is -51234 it returns -51,234
i've already tried to do it myself using the help function but it wouldnt work.
Bookmarks