Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Three possible outputs from an if statement.

Hi. I currently have an if statement: =(IF(CELL="","OPEN","CLOSED") but I
want to amend this to include a third possibility which is that if C91
contains "P/S" that the output will be "P/S"

At present if the CELL is blank I get the result "OPEN". If the cell is not
blank I get "CLOSED". I would like to have a third output for the statement
if the CELL includes P/S (ie partially sold) then output should be "P/S"

I think this is done by combining conditional statements but I cannot work
it out as the if statement is logical value if true, otherwise false

Can anyone help

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Three possible outputs from an if statement.

=IF(C91="","",IF(C91="P/S","P/S","CLOSED"))

--
Gary''s Student - gsnu200909
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Three possible outputs from an if statement.

Except it should be =If(C91="","Open"... I think.

"Gary''s Student" wrote:

=IF(C91="","",IF(C91="P/S","P/S","CLOSED"))

--
Gary''s Student - gsnu200909

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Three possible outputs from an if statement.

You are correct!
Thanks for the help
--
Gary''s Student - gsnu200909


"Allen" wrote:

Except it should be =If(C91="","Open"... I think.

"Gary''s Student" wrote:

=IF(C91="","",IF(C91="P/S","P/S","CLOSED"))

--
Gary''s Student - gsnu200909

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 Statement to display 3 different outputs instead of 2 MikeyB Excel Worksheet Functions 5 October 2nd 09 03:03 PM
If statement that outputs specific text if cell is not null mcmilja Excel Discussion (Misc queries) 2 June 4th 08 02:26 PM
=+SUM(S2:S36) outputs 19190fault EBux Excel Worksheet Functions 1 December 17th 07 10:17 PM
conditinal If statement with 3 outputs Arvi Laanemets Excel Worksheet Functions 5 November 6th 06 06:44 PM
Sumif outputs values chrisc Excel Discussion (Misc queries) 4 October 27th 05 02:05 PM


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