Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 178
Default Sorting rows by time-zone

The spreadsheet has values in columns A-H, and the values for column E
are all states. I want to be able to do things like highlight the rows
based on time-zone, or be able to re-sort the data with eastern time-
zone states at top working to pacific time-zone accounts at the
bottom. the states are all abbreviated.

What do you think would be the easiest way of going about this? Any
ideas?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Sorting rows by time-zone


1) I would build a table of states and timezones. the tines zones being
a number -5 : Eastern Time Zone, -6 : Central Time Zone, -7 : Mountain
Time Zone, -8 : Pacific time zone. The number -5 to -8 are the standard
offset used for the timezones difference from Greenwich time (latitude 0
degrees).


A B
NY -5
IL -6
Ca -8




2) Then use an auxilary column with a vlookup to return the the
appropriate time zone for each row.

3) Replace the formula in new zuxilary column with values using
pastespecial. theis is required so the sort will work properly

4) Sort on New auxilarry Column.


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=150329

Microsoft Office Help

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert time from one zone to other zone in excel ram Excel Worksheet Functions 1 April 25th 07 01:24 PM
Time Zone.. Trevor M Excel Discussion (Misc queries) 1 April 10th 06 08:49 AM
time zone chart R.VENKATARAMAN Excel Worksheet Functions 1 December 11th 04 12:43 PM
Time zone using VBA ged Excel Programming 0 October 25th 04 05:29 PM
Time zone using VBA ged Excel Programming 1 October 20th 04 05:25 PM


All times are GMT +1. The time now is 02:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"