#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 138
Default IFAND Formula

Hi,

I want to make a formula which says the following.

If C2 0 and F2 0, answer h2-e2 otherwise enter 0, I cant get the formula
to work, can you help please?

Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default IFAND Formula

Try it like this:

=if(and(c20,f20),h2-e2,0)

Regards,
Fred.

"Paula" wrote in message
...
Hi,

I want to make a formula which says the following.

If C2 0 and F2 0, answer h2-e2 otherwise enter 0, I cant get the
formula
to work, can you help please?

Many thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default IFAND Formula

=if(and(c20,f20),h2-e2,0)

"Paula" wrote:

Hi,

I want to make a formula which says the following.

If C2 0 and F2 0, answer h2-e2 otherwise enter 0, I cant get the formula
to work, can you help please?

Many thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default IFAND Formula

On Feb 19, 7:37*am, Paula wrote:
I want to make a formula which says the following.
If C2 0 and F2 0, answer h2-e2 otherwise enter 0


One way:

=(H2-E2)*and(C20,F20)
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default IFAND Formula

And you could even use:

=(H2-E2)*(C20)*(F20)

The multiplication serves as an AND.

joeu2004 wrote:

On Feb 19, 7:37 am, Paula wrote:
I want to make a formula which says the following.
If C2 0 and F2 0, answer h2-e2 otherwise enter 0


One way:

=(H2-E2)*and(C20,F20)


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default IFAND Formula


Try

=IF(AND(C20,F20),H2-E2,0)

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Thu, 19 Feb 2009 07:37:28 -0800, Paula
wrote:

Hi,

I want to make a formula which says the following.

If C2 0 and F2 0, answer h2-e2 otherwise enter 0, I cant get the formula
to work, can you help please?

Many thanks

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
Multiple "IFAND" pjk@boro Excel Discussion (Misc queries) 1 August 17th 07 02:14 AM
Multiple "IFAND" Toppers Excel Discussion (Misc queries) 2 August 17th 07 02:07 AM
Q about: IfAnd or is it AndIf? Michael Saffer Excel Worksheet Functions 3 January 28th 06 03:22 AM
Add 2nd variable to if statement - ifAnd? Todd F. Excel Worksheet Functions 4 December 18th 04 07:49 PM


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