Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Using If/or

=if(a1="Frame","X",if(a1="turnkey","y",if(a1="shel l","Z","not specified!")))

or if a1 could only be one of those 3:
=if(a1="Frame","X",if(a1="turnkey","y","z"))

(anything else besides Frame or turnkey will show a Z.)

Jill wrote:

Hi, what if I want to do this for multiple options, i.e:

if A1=frame then X; A1=turnkey then Y; A1=shell then Z?

"Dave Peterson" wrote:

Another way:

=IF(OR(A1={"Frame","turnkey","shell"}),"X","")

It's a little shorter (and easier to update) if the list changes.

Rich wrote:

I don't know how to structure the formula to: IF A1="Frame" OR "Turnkey"OR
"Shell", then insert an "X", else leave blank.


--

Dave Peterson


--

Dave Peterson


 
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



All times are GMT +1. The time now is 04:03 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"