Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Help with forumula to change text cell

I have a column Q - that has state abbreviations. Trying to have a
forumula that changes those to a region. Can't get this to work. Does
the IF function not support OR? If I dont use the or, works fine.

=IF(Q:Q="CA","California",IF((Q:Q="WA" Or "OR"),"Pacific","Other")

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with forumula to change text cell


Use this where you want it to be.

=IF(Q:Q="CA","California",IF(OR(Q:Q="WA",Q:Q="OR") ,"Pacific","Other"))


BerkshireGuy Wrote:
I have a column Q - that has state abbreviations. Trying to have a
forumula that changes those to a region. Can't get this to work.
Does
the IF function not support OR? If I dont use the or, works fine.

=IF(Q:Q="CA","California",IF((Q:Q="WA" Or "OR"),"Pacific","Other"


--
dok11
-----------------------------------------------------------------------
dok112's Profile: http://www.excelforum.com/member.php...fo&userid=1058
View this thread: http://www.excelforum.com/showthread.php?threadid=52941

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
Why does forumula show in cell instead of formula result? Ashley Excel Worksheet Functions 2 May 17th 10 09:45 PM
Autofill cell reference forumula not working James D Excel Worksheet Functions 4 August 28th 09 05:11 PM
Retreive part of the value from each cell - Macor and/or forumula [email protected] Excel Discussion (Misc queries) 5 October 28th 08 05:32 PM
Is there a forumula that uses colors instead of cell #'s? JohnAO Excel Discussion (Misc queries) 5 January 7th 06 03:35 PM
text in forumula problem scrabtree23[_3_] Excel Programming 2 July 20th 05 10:24 PM


All times are GMT +1. The time now is 07:00 PM.

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

About Us

"It's about Microsoft Excel"