Forum Discussion
FiremanSailorJim
Oct 25, 2025Copper Contributor
Data Import issue???
I am working on a drift formula for items being pushed by wind and waves on the water. I imported a text file of weather data, formatted all the data to numbers, and built an "if" formula to convert the wind direction into drift direction. Wind from 360 degrees (north) would cause an item to drift 180 degrees (south). The problem is the formula sees everything as false. Is this a formatting issue with the imported text? =IF(B28<180,B28+180,B28-180)
1 Reply
- NikolinoDEPlatinum Contributor
Here’s a drop-in replacement formula that will work no matter if the imported data is text or numbers, and will always return a valid drift direction (0–360°).
=MOD(VALUE(TRIM(B28))+180,360)
My answers are voluntary and without guarantee!
Hope this will help you.