Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default If formula: if A1 is greater than B1 and A1 is greater than zero..

Hello everyone,
this is what I came up with so far:

=IF(G2=F2, "YES", "NO")

now I have to add F2 must also be greater than zero before putting a "YES"

how do i do that?

thank you :)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 791
Default If formula: if A1 is greater than B1 and A1 is greater than zero..

Jason

I would add a second IF statement in the

=IF(F20,
(IF(G2=F2,"YES","NO"),
"NO")
)

I think the format is correct, but did not test it.....

"Jason" wrote:

Hello everyone,
this is what I came up with so far:

=IF(G2=F2, "YES", "NO")

now I have to add F2 must also be greater than zero before putting a "YES"

how do i do that?

thank you :)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default If formula: if A1 is greater than B1 and A1 is greater than zero..

Hi,

Use AND

=IF(AND(F20,G2=F2), "YES", "NO")
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Jason" wrote:

Hello everyone,
this is what I came up with so far:

=IF(G2=F2, "YES", "NO")

now I have to add F2 must also be greater than zero before putting a "YES"

how do i do that?

thank you :)

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 formula is greater than X use it, if not use X dschneider3 Excel Worksheet Functions 10 February 3rd 10 07:44 AM
If Formula using Greater than / Less than crmulle Excel Discussion (Misc queries) 8 January 23rd 09 07:07 PM
Formula greater than Mel[_2_] Excel Worksheet Functions 2 July 25th 08 09:41 PM
Formula Greater than Less Than Cindy Excel Discussion (Misc queries) 4 January 9th 08 08:11 PM
Greater Than formula ginasucasa Excel Worksheet Functions 5 January 7th 08 08:41 PM


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