Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default Advance if statements?

The message below refers: I am trying to create some kind of artificial
intelligence where I compare data sets, e.g. R13:W13 is a part of a
structure, Z13:AE13 is another part. What I need the inferencing machine to
do is to say if R13:W13 have values between 1 and 4 and Z13:AE13 have values
between 1 and 3, structure is Ok
=IF(COUNTIF(R13:W13,"<4",Countif(Z13:AE13,"<3","OK ","Replace")))

I actually want to produce one ling if statement where each scenario has a
set output. Please help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Advance if statements?

Hi Ralph

the structure of an IF(AND()) function is
=IF(AND(condition1,condition2,....,condition29),tr ue,false)

i think you should be able to achieve what you want using this structure

Hope this helps
Cheers
JulieD


"Ralph" wrote in message
...
The message below refers: I am trying to create some kind of artificial
intelligence where I compare data sets, e.g. R13:W13 is a part of a
structure, Z13:AE13 is another part. What I need the inferencing machine
to
do is to say if R13:W13 have values between 1 and 4 and Z13:AE13 have
values
between 1 and 3, structure is Ok
=IF(COUNTIF(R13:W13,"<4",Countif(Z13:AE13,"<3","OK ","Replace")))

I actually want to produce one ling if statement where each scenario has a
set output. Please help



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Advance if statements?

=If(And((countif(R13:W13,"=1")-countif(R13:W13,"4"))=6,(countif(Z13:AE13,"
=1")-countif(Z13:AE13,"3"))=6),"OK","REPLACE")


--
Regards,
Tom Ogilvy

"Ralph" wrote in message
...
The message below refers: I am trying to create some kind of artificial
intelligence where I compare data sets, e.g. R13:W13 is a part of a
structure, Z13:AE13 is another part. What I need the inferencing machine

to
do is to say if R13:W13 have values between 1 and 4 and Z13:AE13 have

values
between 1 and 3, structure is Ok
=IF(COUNTIF(R13:W13,"<4",Countif(Z13:AE13,"<3","OK ","Replace")))

I actually want to produce one ling if statement where each scenario has a
set output. Please help



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
An Advance IF Manos Excel Worksheet Functions 3 October 2nd 08 02:54 PM
I need a little help...thanks in advance Jambruins Excel Discussion (Misc queries) 1 August 3rd 05 06:00 PM
Here's one for you...(thanks for the help in advance) Jambruins Excel Discussion (Misc queries) 2 July 15th 05 07:41 PM
Advance if statements? Ralph Excel Programming 3 February 24th 05 11:52 AM
Help Please! Thanks in advance. Derek Richards Excel Programming 7 October 23rd 03 06:25 PM


All times are GMT +1. The time now is 02:09 AM.

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"