Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If statement for timezones
I want to make a formula that will convert standard state names to time
zones. I don't want to have to nest a whole bunch of if statements though, is there any way to do this without a macro? Is it possible to set up an IF statement that says =if(A1="WA" OR "CA" OR "another state") then = West Coast. I don't need it to actually give me a time, just classify them by time zone. Thanks in advance!!! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If statement for timezones
Set up a table, e.g. state abbreviations in Y2:Y50, asociated time zone name
in Z2:Z50 then use the formula =VLOOKUP(A1,$Y$2:$Z$50,2,0) to return the timezone name where a specific state abbreviation is contained in A1 "Still Learning" wrote: I want to make a formula that will convert standard state names to time zones. I don't want to have to nest a whole bunch of if statements though, is there any way to do this without a macro? Is it possible to set up an IF statement that says =if(A1="WA" OR "CA" OR "another state") then = West Coast. I don't need it to actually give me a time, just classify them by time zone. Thanks in advance!!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Question using dates in a statement | Excel Discussion (Misc queries) | |||
SQL concatenation statement | Excel Discussion (Misc queries) | |||
SET statement tutorial | Excel Discussion (Misc queries) | |||
If statement | Excel Discussion (Misc queries) | |||
Do I need a sumif or sum of a vlookup formula? | Excel Worksheet Functions |