YES/NO statement

O

Omi

Lets assume the following data: (hope this is not too
confusing, I am trying to get Excell to analyze the data
for me)

A B
73.03 0.35
73.38 -1.24
72.97 0.19
73.21 0.33
73.37 -1.31
72.71 -0.25
71.39 -0.54
71.58 0.79
72.07 1.34
72.45 0.70

Question: How can I ask Excell to lookup and tell me
(YES/NO):

Q1: When B1 is a +ve number is the difference between A2-
A1 also a +ve or -VE number?
Answer : YES

Q2: When B2 is -VE then A3-A2 is also -ve or +ve number?
Answer: NO


Thanks
Omer
 
B

Bob Phillips

Omi,

It is not clear to me what you do if B1 is -ve say, and A2-A1 is +ve. Ditto
B1 +ve.

This might get you started

=IF(B1>0,IF(A2-A1>0,"YES",""),IF(A2-A1<0,"NO",""))

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
O

OMi

Good Question ( I guess my english was bad)

If B1 is -ve and A2-A1 is +ve then the trend is not there.

I am looking to see if there is a trend.

Thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Trend watch 3
7 IF Statements............. 3
Data 2

Top