Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi!
I'm trying to write a formula in column B to return the value of "NA" if column A say "North America", "EU" if column A says "Europe" and "APAC" if column A says "Asia Pacific". I'm sure there's something online but I'm not sure how to look for the answer. Any takers? Thanks in advance! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
There are other methods but here is one.
=IF(A1="","",LOOKUP(A1,{"Asia Pacific","Europe","North America"},{"APAC","EU","NA"})) Gord On Fri, 1 Jun 2012 20:18:13 +0000, JackofAllTrades wrote: Hi! I'm trying to write a formula in column B to return the value of "NA" if column A say "North America", "EU" if column A says "Europe" and "APAC" if column A says "Asia Pacific". I'm sure there's something online but I'm not sure how to look for the answer. Any takers? Thanks in advance! |
#3
![]() |
|||
|
|||
![]() Quote:
1) Nested IF statements =IF(A1="North America","NA",IF(A1="Europe","EU",IF(A1="Asia Pacific","APAC",""))) 2) Lookup table Put a table somewhere in the workbook that has North America, Europe, South Pacific in one column and NA, EU, APAC in the corresponding cells of the next column. Then use VLOOKUP to return the relevant value. Hope that helps. Last edited by Spencer101 : June 2nd 12 at 08:44 AM |
#4
![]() |
|||
|
|||
![]()
Thank you! I'm going to try the nested if statements!
Quote:
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
conditional formatting formula to highlight items on column B inrelation to column A | Excel Discussion (Misc queries) | |||
Field or formula to return last value in a column? | Excel Discussion (Misc queries) | |||
Formula to return column letters | Excel Discussion (Misc queries) | |||
Return text in Column A if Column B and Column K match | Excel Worksheet Functions | |||
column to column conditional formatting won't work, need formula | Excel Worksheet Functions |