#1   Report Post  
Posted to microsoft.public.excel.misc
jimbob
 
Posts: n/a
Default If And Or


Is it possible to use these together? I am trying to count the number
of times a value occurs in a spreadsheet. This is what I'm trying to
do....

IF the value of G30.8 AND the value of H3<0.2, then 1, if not 0, OR if
G3<0.2 and H30.8, then 1, if not 0.


--
jimbob
------------------------------------------------------------------------
jimbob's Profile: http://www.excelforum.com/member.php...o&userid=29107
View this thread: http://www.excelforum.com/showthread...hreadid=506094

  #2   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default If And Or


This is one way....

=((G30.8)+(H30.8))*((G3<0.2)+(H3<0.2))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=506094

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default If And Or

=IF(OR(AND(G30.8,H3<0.2),AND(G3<0.2,H30.8)),1,0)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"jimbob" wrote in
message ...

Is it possible to use these together? I am trying to count the number
of times a value occurs in a spreadsheet. This is what I'm trying to
do....

IF the value of G30.8 AND the value of H3<0.2, then 1, if not 0, OR if
G3<0.2 and H30.8, then 1, if not 0.


--
jimbob
------------------------------------------------------------------------
jimbob's Profile:

http://www.excelforum.com/member.php...o&userid=29107
View this thread: http://www.excelforum.com/showthread...hreadid=506094



  #4   Report Post  
Posted to microsoft.public.excel.misc
Anne Troy
 
Posts: n/a
Default If And Or

=IF(OR(AND(G30.8,H3<0.2),AND(G3<0.2,H30.8)),1,0)
I think. :)
************
Hope it helps!
Anne Troy
www.OfficeArticles.com

"jimbob" wrote in
message ...

Is it possible to use these together? I am trying to count the number
of times a value occurs in a spreadsheet. This is what I'm trying to
do....

IF the value of G30.8 AND the value of H3<0.2, then 1, if not 0, OR if
G3<0.2 and H30.8, then 1, if not 0.


--
jimbob
------------------------------------------------------------------------
jimbob's Profile:
http://www.excelforum.com/member.php...o&userid=29107
View this thread: http://www.excelforum.com/showthread...hreadid=506094



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



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