Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Formula reflecting mutliple results

What formula to write on D column:

To show fail when theres an a or x on any column of A, B & C.
To show pass when only b, or c or e (not a or x) on A, B & C columns.

A B C D
a a x fail
c b x fail
e c b pass
e e a fail
c b c pass
c b b pass

--
Aline Yiu
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Formula reflecting mutliple results

This formula should do the trick:

=IF(OR(A9="a",B9="a",C9="a",A9="x",B9="x",C9="x"), "fail","Pass")
--
Kevin Backmann


"Aline Yiu" wrote:

What formula to write on D column:

To show fail when theres an a or x on any column of A, B & C.
To show pass when only b, or c or e (not a or x) on A, B & C columns.

A B C D
a a x fail
c b x fail
e c b pass
e e a fail
c b c pass
c b b pass

--
Aline Yiu

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Formula reflecting mutliple results

P.S. You'll have to replace the row number 9 with the relevant row for your
layout. I just happened to insert the formula in row 9
--
Kevin Backmann


"Aline Yiu" wrote:

What formula to write on D column:

To show fail when theres an a or x on any column of A, B & C.
To show pass when only b, or c or e (not a or x) on A, B & C columns.

A B C D
a a x fail
c b x fail
e c b pass
e e a fail
c b c pass
c b b pass

--
Aline Yiu

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 947
Default Formula reflecting mutliple results

This array formula only checks for "a" or "x".

=IF(OR((A1:C1="a"),(A1:C1="x")),"Fail","Pass")

Ctrl+Shift+Enter
--
Dana DeLouis


"Aline Yiu" wrote in message
...
What formula to write on D column:

To show "fail" when there's an "a" or "x" on any column of A, B & C.
To show "pass" when only "b", or "c" or "e" (not a or x) on A, B & C
columns.

A B C D
a a x fail
c b x fail
e c b pass
e e a fail
c b c pass
c b b pass

--
Aline Yiu



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Formula reflecting mutliple results

If you can always just have Pass/Fail (only depend on a's and x's):

=IF(SUM(COUNTIF(A1:C1,{"a","x"}))0,"Fail","Pass")

If you can have other options besides a,x, b,c,e:
=IF(SUM(COUNTIF(A3:C3,{"a","x"}))0,"Fail",
IF(SUM(COUNTIF(A3:C3,{"b","c","e"}))0,"Pass","Und efined"))

If you're going to compose in MSWord, you should turn those smart quotes off.
It really clutters up your message's intent.

Maybe composing in NotePad would be better????

Aline Yiu wrote:

What formula to write on D column:

To show fail when theres an a or x on any column of A, B & C.
To show pass when only b, or c or e (not a or x) on A, B & C columns.

A B C D
a a x fail
c b x fail
e c b pass
e e a fail
c b c pass
c b b pass

--
Aline Yiu


--

Dave Peterson
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
CHART REFLECTING WIND AGAINST AN OBJECT IN DEGREES EACH DAY Julia Charts and Charting in Excel 2 July 25th 07 04:04 PM
ranking by mutliple categories dbr Excel Worksheet Functions 2 January 27th 07 01:22 AM
Stacked Column graphs reflecting net totals KH Charts and Charting in Excel 0 March 28th 06 09:06 PM
Master Worksheet reflecting sub-worksheets [email protected] New Users to Excel 10 February 25th 06 02:49 AM
Maintain mutliple original formats in a formula result KeLee Excel Worksheet Functions 2 February 20th 06 12:50 AM


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