Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kikkoman
 
Posts: n/a
Default criteria 1(a,b,c), criteria 2 (T,F) - Results (3 answers) achievab

in cell A1: from a dropdown list - choose a, b or c
in cell B1: from a dropdown list - true or false
in cell C1: Results will depend on A1 and B1 - give 1, 2 or 3
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

You don't say how so a guess

=IF(AND(A1="a",B1=TRUE),1,IF(AND(A1="b",B1=FALSE,2 ,3))

--
HTH

Bob Phillips

"Kikkoman" wrote in message
...
in cell A1: from a dropdown list - choose a, b or c
in cell B1: from a dropdown list - true or false
in cell C1: Results will depend on A1 and B1 - give 1, 2 or 3



  #3   Report Post  
Kikkoman
 
Posts: n/a
Default

sorry didn't make myself clear...

if choose a & T, result 0
if choose a & F, result 1
if choose b & T, result 0
if choose b & F, result 2
if choose c & T, result 0
if choose c & F, result 3

Thanks for helping

"Bob Phillips" wrote:

You don't say how so a guess

=IF(AND(A1="a",B1=TRUE),1,IF(AND(A1="b",B1=FALSE,2 ,3))

--
HTH

Bob Phillips

"Kikkoman" wrote in message
...
in cell A1: from a dropdown list - choose a, b or c
in cell B1: from a dropdown list - true or false
in cell C1: Results will depend on A1 and B1 - give 1, 2 or 3




  #4   Report Post  
N Harkawat
 
Posts: n/a
Default

=MATCH(A1,{"a","b","c"},0)*NOT(B1)



"Kikkoman" wrote in message
...
sorry didn't make myself clear...

if choose a & T, result 0
if choose a & F, result 1
if choose b & T, result 0
if choose b & F, result 2
if choose c & T, result 0
if choose c & F, result 3

Thanks for helping

"Bob Phillips" wrote:

You don't say how so a guess

=IF(AND(A1="a",B1=TRUE),1,IF(AND(A1="b",B1=FALSE,2 ,3))

--
HTH

Bob Phillips

"Kikkoman" wrote in message
...
in cell A1: from a dropdown list - choose a, b or c
in cell B1: from a dropdown list - true or false
in cell C1: Results will depend on A1 and B1 - give 1, 2 or 3






  #5   Report Post  
Tom Ogilvy
 
Posts: n/a
Default

=(CODE(UPPER(A1))-64)*NOT(B1)

--
Regards,
Tom Ogilvy

"Kikkoman" wrote in message
...
sorry didn't make myself clear...

if choose a & T, result 0
if choose a & F, result 1
if choose b & T, result 0
if choose b & F, result 2
if choose c & T, result 0
if choose c & F, result 3

Thanks for helping

"Bob Phillips" wrote:

You don't say how so a guess

=IF(AND(A1="a",B1=TRUE),1,IF(AND(A1="b",B1=FALSE,2 ,3))

--
HTH

Bob Phillips

"Kikkoman" wrote in message
...
in cell A1: from a dropdown list - choose a, b or c
in cell B1: from a dropdown list - true or false
in cell C1: Results will depend on A1 and B1 - give 1, 2 or 3








  #6   Report Post  
Kikkoman
 
Posts: n/a
Default

The problem just got a whole lot bigger...
if:
column a - choose "Region", "interstate", "overseas" meeting
column b - enter "No. of regional people attending to meeting"
column c - enter "no. of interstate people attending to meeting"
column d - enter "no. of foreign people attending to meeting"
column e - enter "total cost" of meeting
column f - calculate "Payable"
column g - calculate "not-payable"

Rule:
(if region people attend "region" meeting then, {if average cost is <101,
"not payable","payable"} "not-payable")
(if interstate people attend "interstate" meeting then, {if average cost is
<101, "not-payable","Payable"} "not-payable")
(if foreign attends any meeting- all "Payable")

example:
roll a1 = region, b1 = 1(region) , c1 = 1(interstate), d1 = 1(foreign), e1 =
$600 then f1 = 400 (region + foreign), g1 = 200 (interstate)

roll a2 = interstate, b2 = 2, c2 = 1, d2 = 1, e2 = $500
then f2 = 100 (foreign - Payable), g2 = 400 (interstate attending interstate
meeting but under <101, non payable)

roll a3 = oversea, b3 = 1, c3 = 1, d3 = 1, e3 = $303
then f3 = $101, g3 = $202

question:
what formula should be used in column f and column g?

thanks for all for your help
"Tom Ogilvy" wrote:

=(CODE(UPPER(A1))-64)*NOT(B1)

--
Regards,
Tom Ogilvy

"Kikkoman" wrote in message
...
sorry didn't make myself clear...

if choose a & T, result 0
if choose a & F, result 1
if choose b & T, result 0
if choose b & F, result 2
if choose c & T, result 0
if choose c & F, result 3

Thanks for helping

"Bob Phillips" wrote:

You don't say how so a guess

=IF(AND(A1="a",B1=TRUE),1,IF(AND(A1="b",B1=FALSE,2 ,3))

--
HTH

Bob Phillips

"Kikkoman" wrote in message
...
in cell A1: from a dropdown list - choose a, b or c
in cell B1: from a dropdown list - true or false
in cell C1: Results will depend on A1 and B1 - give 1, 2 or 3






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
Search Range for Criteria in given cell and produce results RFreeman12 Excel Discussion (Misc queries) 3 June 27th 05 09:23 PM
sorting more than 3 keys Brooke Excel Discussion (Misc queries) 3 June 18th 05 04:52 AM
Multiple Criteria IF Nesting BethB Excel Worksheet Functions 2 May 17th 05 12:14 AM
Countif using format criteria....not number criteria? Troy Excel Worksheet Functions 1 April 20th 05 04:50 AM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM


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