#1   Report Post  
Michelle P
 
Posts: n/a
Default 0 < F6 < 12

Can I use this in an IF formula? rather than F60,F6<12.

Thanks,
Michelle
  #2   Report Post  
TomHinkle
 
Posts: n/a
Default

are you a C programmer??

I don't think that will work.. have to use AND function

AND(0<F6,F6<12)



"Michelle P" wrote:

Can I use this in an IF formula? rather than F60,F6<12.

Thanks,
Michelle

  #3   Report Post  
Michelle P
 
Posts: n/a
Default

OK, thanks.

What's a C programmer?

"TomHinkle" wrote:

are you a C programmer??

I don't think that will work.. have to use AND function

AND(0<F6,F6<12)



"Michelle P" wrote:

Can I use this in an IF formula? rather than F60,F6<12.

Thanks,
Michelle

  #4   Report Post  
TomHinkle
 
Posts: n/a
Default

C was the precursor to C++, C#... You were able to do a LOT of stuff in it
like you are asking.
ex.. F6++ would add one to F6.

in VBA there is a BETWEEN operator as well (.. F6 between 0 AND 12 ), BUT
sounded like you were sticking to a simple formula..

"Michelle P" wrote:

OK, thanks.

What's a C programmer?

"TomHinkle" wrote:

are you a C programmer??

I don't think that will work.. have to use AND function

AND(0<F6,F6<12)



"Michelle P" wrote:

Can I use this in an IF formula? rather than F60,F6<12.

Thanks,
Michelle

  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

You obviously aren't <vbg

It is someone who programs using C, C++ languages, quite low-level
languages.

--
HTH

Bob Phillips

"Michelle P" wrote in message
...
OK, thanks.

What's a C programmer?

"TomHinkle" wrote:

are you a C programmer??

I don't think that will work.. have to use AND function

AND(0<F6,F6<12)



"Michelle P" wrote:

Can I use this in an IF formula? rather than F60,F6<12.

Thanks,
Michelle





  #6   Report Post  
Michelle P
 
Posts: n/a
Default

And I think I'm on my seventh nest, so this IF formula is about to come to an
end. And I'm only halfway done. Grr.

"TomHinkle" wrote:

C was the precursor to C++, C#... You were able to do a LOT of stuff in it
like you are asking.
ex.. F6++ would add one to F6.

in VBA there is a BETWEEN operator as well (.. F6 between 0 AND 12 ), BUT
sounded like you were sticking to a simple formula..

"Michelle P" wrote:

OK, thanks.

What's a C programmer?

"TomHinkle" wrote:

are you a C programmer??

I don't think that will work.. have to use AND function

AND(0<F6,F6<12)



"Michelle P" wrote:

Can I use this in an IF formula? rather than F60,F6<12.

Thanks,
Michelle

  #7   Report Post  
Dana DeLouis
 
Posts: n/a
Default

Hi Michelle. Just for gee-wiz. In another program, the internal form of
a<b<c<d is the following...
Less[a,b,c,d]

Don't know if this would help, but here is a Poor-man's version of that
functionality...

Function Less(ParamArray v()) As Boolean
Dim p As Long
If UBound(v) = 0 Then Exit Function
Less = v(0) < v(1)
For p = 2 To UBound(v)
Less = Less And (v(p - 1) < v(p))
If Not Less Then Exit Function
Next p
End Function

On a worksheet, the following should work:
=Less(0,F6,12)

This returns True
=Less(2,4,6,8,10)

This returns False
=Less(2,4,6,8,7)

HTH :)
--
Dana DeLouis
Win XP & Office 2003


"Michelle P" wrote in message
...
And I think I'm on my seventh nest, so this IF formula is about to come to
an
end. And I'm only halfway done. Grr.

"TomHinkle" wrote:

C was the precursor to C++, C#... You were able to do a LOT of stuff in
it
like you are asking.
ex.. F6++ would add one to F6.

in VBA there is a BETWEEN operator as well (.. F6 between 0 AND 12 ),
BUT
sounded like you were sticking to a simple formula..

"Michelle P" wrote:

OK, thanks.

What's a C programmer?

"TomHinkle" wrote:

are you a C programmer??

I don't think that will work.. have to use AND function

AND(0<F6,F6<12)



"Michelle P" wrote:

Can I use this in an IF formula? rather than F60,F6<12.

Thanks,
Michelle



  #8   Report Post  
Michelle P
 
Posts: n/a
Default

Thanks for the help everyone.

"Michelle P" wrote:

Can I use this in an IF formula? rather than F60,F6<12.

Thanks,
Michelle

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 03:27 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"