Transport77
New Member
- Joined
- Sep 6, 2022
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
I'm in logistics...I have several warehouses within a few miles of each other and I have a Excel spreadsheet detailing trailers supposedly parked at each location. This spreadsheet details the trailers' current/most recent GPS coordinates...latitude in one cell column and longitude in the next cell column. I am attempting to use conditional formatting to highlight where each trailer is located based on the coordinates listed (so I don't have to search each one). So, if a warehouse is between a particular latitude range and longitude range, I'd like the given GPS coordinates (both the latitude and longitude cells on the row) to be highlighted if they fall within the ranges for a particular warehouse. However, some of my warehouses have either overlapping latitudes or longitudes. So while the latitude may highlight correctly, the longitude may not because the trailer's longitude coordinate is within that overlap, and vice versa. I'm trying to figure out a formula rule for each warehouse location to basically say:
* For the latitude column..."if the latitude is between this range and the longitude is between this range, then highlight the latitude this color."
* For the longitude column..."if the longitude is between this range and the latitude is between this range, then highlight the longitude this color."
* so that both coordinates are highlighted the same to match the color designated by the location.
How would I properly write these rules and apply them both the latitude and longitude columns? Any help would be greatly appreciated!
* For the latitude column..."if the latitude is between this range and the longitude is between this range, then highlight the latitude this color."
* For the longitude column..."if the longitude is between this range and the latitude is between this range, then highlight the longitude this color."
* so that both coordinates are highlighted the same to match the color designated by the location.
How would I properly write these rules and apply them both the latitude and longitude columns? Any help would be greatly appreciated!