Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Simple If Function Question

I have a working If function that says, IF(AB, A-C+D, E), and I want
to add an additional intruction to this that states that IF(B=0, E, 0)
as opposed to it defaulting to the "A-C+D" calculation. How can I add
this additional funtion to the current function. I think it has
something to do with an "AND" or an "OR". Any help will be appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Simple If Function Question

not sure what you need but try this
=IF(AND(A1B1,B1=0),E1,0)

"NewUser22" wrote:

I have a working If function that says, IF(AB, A-C+D, E), and I want
to add an additional intruction to this that states that IF(B=0, E, 0)
as opposed to it defaulting to the "A-C+D" calculation. How can I add
this additional funtion to the current function. I think it has
something to do with an "AND" or an "OR". Any help will be appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default Simple If Function Question

NewUser22,

try

=IF(AND(A1B1,B10), A1-C1+D1,E1)


--
Hope that helps.

Vergel Adriano


"NewUser22" wrote:

I have a working If function that says, IF(AB, A-C+D, E), and I want
to add an additional intruction to this that states that IF(B=0, E, 0)
as opposed to it defaulting to the "A-C+D" calculation. How can I add
this additional funtion to the current function. I think it has
something to do with an "AND" or an "OR". Any help will be appreciated.


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
Simple Sum function question Brwnize1 Excel Worksheet Functions 3 October 24th 07 04:50 PM
Probably simple question on AVG function Mike612 Excel Discussion (Misc queries) 1 July 26th 07 03:14 AM
Simple Function question? jboss73 Excel Worksheet Functions 3 January 6th 06 02:22 PM
simple function question Don Shepherd Excel Programming 3 June 11th 05 04:03 AM
Simple Function question Jeff Wright[_2_] Excel Programming 6 May 1st 05 12:44 AM


All times are GMT +1. The time now is 12:51 PM.

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"