#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default if statements



I want to enter one of two values in column A and one of two
(different) values in column B.

In column C I want Excel to compute a value for each of the 4 possible
combinations of values in columns A and B on a particular row.

Eg

if A1 = urgent and B1 = important, C1 = 'Q1'
if A1 = non-urgent and B1 = important, C2 = 'Q2'
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 523
Default if statements

in C1:

=IF(A1="Urgent",IF(B1="Important","Q1","Q3"),IF(B1 ="Important","Q2","Q4"))

(I've assumed Q4 is Non-urgent/Non-Important and Q4 is Urgent/Non-Importnant)



"the richard and judy show" wrote:



I want to enter one of two values in column A and one of two
(different) values in column B.

In column C I want Excel to compute a value for each of the 4 possible
combinations of values in columns A and B on a particular row.

Eg

if A1 = urgent and B1 = important, C1 = 'Q1'
if A1 = non-urgent and B1 = important, C2 = 'Q2'

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default if statements

What are the allowed values in A1 and in B1, and what are the outcomes
that you require? In your last example, should it be C1 = 'Q2' ?

Pete

On Sep 9, 11:23*am, the richard and judy show
wrote:
I want to enter one of two values in column A and one of two
(different) values in column B.

In column C I want Excel to compute a value for each of the 4 possible
combinations of values in columns A and B on a particular row.

Eg

if A1 = urgent and B1 = important, C1 = 'Q1'
if A1 = non-urgent and B1 = important, C2 = 'Q2'


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default if statements

On 9 Sep, 11:36, Sam Wilson
wrote:
in C1:

=IF(A1="Urgent",IF(B1="Important","Q1","Q3"),IF(B1 ="Important","Q2","Q4"))

(I've assumed Q4 is Non-urgent/Non-Important and Q4 is Urgent/Non-Importnant)

"the richard and judy show" wrote:



Perfect - thanks a ton.

I want to enter one of two values in column A and one of two

(different) values in column B.


In column C I want Excel to compute a value for each of the 4 possible
combinations of values in columns A and B on a particular row.


Eg


if A1 = urgent and B1 = important, C1 = 'Q1'
if A1 = non-urgent and B1 = important, C2 = 'Q2'- Hide quoted text -


- Show quoted text -


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
if statements Peter[_12_] New Users to Excel 4 January 24th 09 12:34 AM
If Statements DeckyT Excel Worksheet Functions 1 February 12th 07 04:23 PM
IF Statements Rebecca Excel Worksheet Functions 1 December 5th 06 05:09 PM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
if/then statements Molly Excel Worksheet Functions 3 August 27th 05 07:10 PM


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