Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
cheshire191
 
Posts: n/a
Default multiple if/then on one cell

here is basically what i want to do.

if a3=b3 than x
if not than check to see if a3=b4 than y
if not than check to see if a3=b5 than z

i just don't know how to make excel understand.

if there is a different command to use that would be cool too .. i just
don't know it.

thanks in advance.
  #2   Report Post  
David Hepner
 
Posts: n/a
Default

Try this:

=IF(A3=B3,"x",IF(A3=B4,"y",IF(A3=B5,"z")))


"cheshire191" wrote:

here is basically what i want to do.

if a3=b3 than x
if not than check to see if a3=b4 than y
if not than check to see if a3=b5 than z

i just don't know how to make excel understand.

if there is a different command to use that would be cool too .. i just
don't know it.

thanks in advance.

  #3   Report Post  
Paul Sheppard
 
Posts: n/a
Default


cheshire191 Wrote:
here is basically what i want to do.

if a3=b3 than x
if not than check to see if a3=b4 than y
if not than check to see if a3=b5 than z

i just don't know how to make excel understand.

if there is a different command to use that would be cool too .. i
just
don't know it.

thanks in advance.


Hi cheshire191

Try this

=IF(A3=B3,"x",IF(A3=B4,"y","z")), this will return z if A3 is not equal
to B3 or B4

or

=IF(A3=B3,"x",IF(A3=B4,"y",IF(A3=B5,"z","No Match"))), will return No
Match if A3 is not equal to B3, B4 or B5


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=400908

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
multiple cell editing George B. Excel Worksheet Functions 2 August 25th 05 10:26 AM
Counting Multiple Values In A Cell DiamondDean Excel Worksheet Functions 1 August 20th 05 07:22 AM
generate multiple rows based on cell value Theresa Excel Worksheet Functions 0 May 25th 05 11:18 PM
Can multiple cell results be displayed in a single cell? FuadsCurse Excel Discussion (Misc queries) 2 May 18th 05 05:33 PM
Multiple lines in 1 cell Zach F Excel Discussion (Misc queries) 2 April 14th 05 04:58 PM


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

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"