Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Trouble constructing IF statement

I am trying to display one of two results in a cell depending on the results
of several True / False tests.

If both "A AND B" are true or if "C" is true I want to display the results
of the same formula. If neither "A AND B" or "C" are true I want the cell to
be blank.

I am getting an error message on the "logical test" of my first IF statement
which currenly looks like

=IF(((D1415) AND (G14="Y")),((I14*N14)/12),IF(C14.8,((I14*N14)/12),""))

Any suggestion on correcting the error in the equation or offering a
different way to successfully achieve the results I am looking for will be
appreciated.
--
Joe Schwartz
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Trouble constructing IF statement

Try it like this:

=IF(OR(AND(D1415,G14="Y"),C140.8),I14*N14/12,"")

--
Biff
Microsoft Excel MVP


"Joe" (donotspam) wrote in message
...
I am trying to display one of two results in a cell depending on the
results
of several True / False tests.

If both "A AND B" are true or if "C" is true I want to display the results
of the same formula. If neither "A AND B" or "C" are true I want the cell
to
be blank.

I am getting an error message on the "logical test" of my first IF
statement
which currenly looks like

=IF(((D1415) AND (G14="Y")),((I14*N14)/12),IF(C14.8,((I14*N14)/12),""))

Any suggestion on correcting the error in the equation or offering a
different way to successfully achieve the results I am looking for will be
appreciated.
--
Joe Schwartz



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
Trouble with an IF statement. Cerberus Excel Discussion (Misc queries) 3 February 18th 08 09:29 PM
If statement trouble Carlee Excel Worksheet Functions 3 May 28th 07 10:13 PM
Constructing graphs in excel Twnooz Charts and Charting in Excel 1 June 13th 06 07:17 PM
Help constructing simple spreadsheet Jeff Mason New Users to Excel 1 November 24th 05 04:51 PM
Trouble with a conditional statement Jim New Users to Excel 2 April 10th 05 10:13 PM


All times are GMT +1. The time now is 08:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"