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

basically i want to do this equation

if a1=a3 than w
if not check to see if a1=b3 than x
if not check to see if a1=c3 than y
if not check to see if a1=c4 than z

and so on.

can anyone tell me what function or functions i need to use to do this. i an
trying it with =IF and can't get it to work.
  #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:

basically i want to do this equation

if a1=a3 than w
if not check to see if a1=b3 than x
if not check to see if a1=c3 than y
if not check to see if a1=c4 than z

and so on.

can anyone tell me what function or functions i need to use to do this. i an
trying it with =IF and can't get it to work.

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default



--

HTH

RP
(remove nothere from the email address if mailing direct)


"cheshire191" wrote in message
...
basically i want to do this equation

if a1=a3 than w
if not check to see if a1=b3 than x
if not check to see if a1=c3 than y
if not check to see if a1=c4 than z

and so on.

can anyone tell me what function or functions i need to use to do this. i

an
trying it with =IF and can't get it to work.



  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

=IF(A1=A3,"w",IF(A1=B3,"x",IF(A1=C3,"y",IF(A1=D3," z",""))))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"cheshire191" wrote in message
...
basically i want to do this equation

if a1=a3 than w
if not check to see if a1=b3 than x
if not check to see if a1=c3 than y
if not check to see if a1=c4 than z

and so on.

can anyone tell me what function or functions i need to use to do this. i

an
trying it with =IF and can't get it to work.



  #5   Report Post  
cheshire191
 
Posts: n/a
Default

Sweet Dood .. thanks a million .. it worked like a charm!!!!

"David Hepner" wrote:

Try this:

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

"cheshire191" wrote:

basically i want to do this equation

if a1=a3 than w
if not check to see if a1=b3 than x
if not check to see if a1=c3 than y
if not check to see if a1=c4 than z

and so on.

can anyone tell me what function or functions i need to use to do this. i an
trying it with =IF and can't get it to work.

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 02:04 AM.

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"