Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Howie
 
Posts: n/a
Default Can someone give me a hand with this formula please?

I have got something like:
=IF(OR(AND(J3B3,J3<C3),(AND(J3E3,J3<F3)),(AND(J3 H3,J3<I3)),TRUE,FALSE))

In words, I am trying to say:

IF the value in X is greater than a, AND less than b, OR greater
than c AND less than d, OR greater than e AND less than f, then
FALSE, otherwise TRUE.

I really would appreciate any help here.

TIA.

H.


--
Howard Coakley
e-mail... howard<dot}coakleyatcoakley<dot].codotuk
Skype ID: howie10 (get skype from www.skype.com)
  #2   Report Post  
Max
 
Posts: n/a
Default Can someone give me a hand with this formula please?

One interp .. Maybe in say, K3:

=IF(OR(AND(J3B3,J3<C3),AND(J3E3,J3<F3),AND(J3H3 ,J3<I3)),FALSE,TRUE)

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Howie" wrote in message
...
I have got something like:
=IF(OR(AND(J3B3,J3<C3),(AND(J3E3,J3<F3)),(AND(J3 H3,J3<I3)),TRUE,FALSE))

In words, I am trying to say:

IF the value in X is greater than a, AND less than b, OR greater
than c AND less than d, OR greater than e AND less than f, then
FALSE, otherwise TRUE.

I really would appreciate any help here.

TIA.

H.


--
Howard Coakley
e-mail... howard<dot}coakleyatcoakley<dot].codotuk
Skype ID: howie10 (get skype from www.skype.com)



  #3   Report Post  
Niek Otten
 
Posts: n/a
Default Can someone give me a hand with this formula please?

=IF(OR(AND(J3B3,J3<C3),AND(J3E3,J3<F3),AND(J3H3 ,J3<I3)),TRUE,FALSE)

--
Kind regards,

Niek Otten

"Howie" wrote in message
...
I have got something like:
=IF(OR(AND(J3B3,J3<C3),(AND(J3E3,J3<F3)),(AND(J3 H3,J3<I3)),TRUE,FALSE))

In words, I am trying to say:

IF the value in X is greater than a, AND less than b, OR greater
than c AND less than d, OR greater than e AND less than f, then
FALSE, otherwise TRUE.

I really would appreciate any help here.

TIA.

H.


--
Howard Coakley
e-mail... howard<dot}coakleyatcoakley<dot].codotuk
Skype ID: howie10 (get skype from www.skype.com)



  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default Can someone give me a hand with this formula please?

You should check your post on OzGrid I explained it to you there!

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Howie" wrote in message
...
I have got something like:
=IF(OR(AND(J3B3,J3<C3),(AND(J3E3,J3<F3)),(AND(J3 H3,J3<I3)),TRUE,FALSE))

In words, I am trying to say:

IF the value in X is greater than a, AND less than b, OR greater
than c AND less than d, OR greater than e AND less than f, then
FALSE, otherwise TRUE.

I really would appreciate any help here.

TIA.

H.


--
Howard Coakley
e-mail... howard<dot}coakleyatcoakley<dot].codotuk
Skype ID: howie10 (get skype from www.skype.com)



  #5   Report Post  
Howie
 
Posts: n/a
Default Can someone give me a hand with this formula please?

On Tue, 8 Nov 2005 10:28:03 +0100, "Niek Otten"
wrote:

|=IF(OR(AND(J3B3,J3<C3),AND(J3E3,J3<F3),AND(J3H 3,J3<I3)),TRUE,FALSE)

Brilliant! Thank you. That worked really well.

At the risk of being a pain, do you know if there's a way to
compare if there is an overlap of a time period in two different
cells?
What I mean is, I am making a timesheet and I want to flag up an
error if the times in;
A1(start time), and A2 (end time)
conflict with similar cells elsewhere. Such as:
B1(start time) and B2(end time)

Of course, it's the time BETWEEN the two cells in each set of
times which must not conflict.

??
--
Howard Coakley
e-mail... howard<dot}coakleyatcoakley<dot].codotuk
Skype ID: howie10 (get skype from www.skype.com)


  #6   Report Post  
Howie
 
Posts: n/a
Default Can someone give me a hand with this formula please?

On Tue, 8 Nov 2005 11:21:25 -0000, "Bob Phillips"
wrote:

|You should check your post on OzGrid I explained it to you there!

Thanks Bob, I did. And I've posted a thank you. I didn't get it
to work at first, (my own stupidity), and I didn't realise you
would be on both forums :-\
It works now of course. But I admit to hedging my bets in my
frustration! Sorry if it seemed like overkill!

I don't suppose you can help with my Q on the time conflict
formula can you?

Regards,

H.

--
Howard Coakley
e-mail... howard<dot}coakleyatcoakley<dot].codotuk
Skype ID: howie10 (get skype from www.skype.com)
  #7   Report Post  
Max
 
Posts: n/a
Default Can someone give me a hand with this formula please?

IF the value in X is greater than a, AND less than b, OR greater
than c AND less than d, OR greater than e AND less than f, then
FALSE, otherwise TRUE.


Howie,
From the above lines in your original post, really thought you wanted the
"FALSE" indicated as the Value_IF_True, and "TRUE" as the value otherwise.
That's why I swapped it around. I'm confused. Could you re-clarify your
original intent?
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


  #8   Report Post  
Max
 
Posts: n/a
Default Can someone give me a hand with this formula please?

Something tells me my request for clarification from the OP isn't going to
receive any response ..
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


  #9   Report Post  
Howie
 
Posts: n/a
Default Can someone give me a hand with this formula please?

On Wed, 9 Nov 2005 17:29:24 +0800, "Max"
wrote:

|Something tells me my request for clarification from the OP isn't going to
|receive any response ..
|--
|Rgds
|Max
|xl 97
|---
|Singapore, GMT+8
|xdemechanik
|http://savefile.com/projects/236895

Don't be like that!
Actually, it was true/false order. But it was the rest of the
formula which was confusing me!

All sorted now; with everyone's help. Thanks very much again.

H.

--
Howard Coakley
e-mail... howard<dot}coakleyatcoakley<dot].codotuk
Skype ID: howie10 (get skype from www.skype.com)
  #10   Report Post  
Max
 
Posts: n/a
Default Can someone give me a hand with this formula please?

"Howie" wrote:
Actually, it was true/false order. But it was the rest of the
formula which was confusing me!


Thanks for clarifying. Think I crossed the finishing post a little ahead,
but I was misled into running backwards. It's indeed a fine line between
brilliance and obscurity <g

Here's some thoughts on your question:

if there's a way to compare if there is an overlap of a time
period in two different cells? What I mean is, I am
making a timesheet and I want to flag up an error if the times in;
A1(start time), and A2 (end time)
conflict with similar cells elsewhere. Such as:
B1(start time) and B2(end time)

Of course, it's the time BETWEEN the two cells in each set of
times which must not conflict.


Assuming times in A1:A2 are to be checked against those in B1:B2

Try in say, A3:
=IF(OR(AND(A1B1,A1<=B2),AND(A2B1,A2<=B2)),"Confl ict","")

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--




  #11   Report Post  
Howie
 
Posts: n/a
Default Can someone give me a hand with this formula please?

<snip
|
|Assuming times in A1:A2 are to be checked against those in B1:B2
|
|Try in say, A3:
|=IF(OR(AND(A1B1,A1<=B2),AND(A2B1,A2<=B2)),"Conf lict","")

Max. that does it. Of course!

thanks again for your help.

Regards,

H.

  #12   Report Post  
Max
 
Posts: n/a
Default Can someone give me a hand with this formula please?

You're welcome, Howie !
Thanks for the feedback
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


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
Editing an existing formula Jen Excel Worksheet Functions 1 October 24th 05 07:55 PM
Hide formula skateblade Excel Worksheet Functions 10 October 15th 05 08:36 PM
This formula is also summing the the value above to give 2 totals. Steved Excel Worksheet Functions 0 August 8th 05 10:55 PM
Named SUM Formula with relative refernce(s) Werner Rohrmoser Excel Worksheet Functions 2 April 20th 05 04:56 PM
formula from multiple worksheets to give a color output to one wo. vikingshooter Excel Worksheet Functions 0 February 10th 05 03:19 PM


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