#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default formula problem

I'm using the following formula if F8 =1 or 2:

=IF(AND(F8=1,MIN(EW8,FA8,FD8)DATE(2009,5,1)),"GO" ,IF(AND(F8=2,MIN(EW8,FA8,FC8,FD8)DATE(2009,5,1)), "GO","NO GO"))

If F8 = 3, I want to use an "or" to shorten the formula below and add it to
formula above but I can't it out.

=IF(AND(F9=3,MIN(EZ9,FA9,FD9,GA9,GB9,GC9)DATE(200 9,5,1)),"GO",IF(AND(F9=3,MIN(FA9,FD9,GA9,GB9,GC9,G D9)DATE(2009,5,1)),"GO","NO GO"))

Can't quite figure it out because of all the parenthesis'

Appreciate any help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default formula problem

Bernie,

=IF(AND(OR(F8=1,F8=2),MIN(EW8,FA8,FD8)DATE(2009,5 ,1)),"GO","NO GO")

HTH,
Bernie
MS Excel MVP


"Bernie" wrote in message
...
I'm using the following formula if F8 =1 or 2:

=IF(AND(F8=1,MIN(EW8,FA8,FD8)DATE(2009,5,1)),"GO" ,IF(AND(F8=2,MIN(EW8,FA8,FC8,FD8)DATE(2009,5,1)), "GO","NO
GO"))

If F8 = 3, I want to use an "or" to shorten the formula below and add it to
formula above but I can't it out.

=IF(AND(F9=3,MIN(EZ9,FA9,FD9,GA9,GB9,GC9)DATE(200 9,5,1)),"GO",IF(AND(F9=3,MIN(FA9,FD9,GA9,GB9,GC9,G D9)DATE(2009,5,1)),"GO","NO
GO"))

Can't quite figure it out because of all the parenthesis'

Appreciate any help.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default formula problem

Ooops, forgot the second formula

=IF(AND(OR(F9=3,F9=1,F9=2),MIN(EZ9,FA9,FD9,GA9,GB9 ,GC9)DATE(2009,5,1)),"GO","NO GO"))


Or, it you have a lot of integer values, something like:

=IF(AND(AND(F9=1,F9<=5),MIN(EZ9,FA9,FD9,GA9,GB9,G C9)DATE(2009,5,1)),"GO","NO GO"))

HTH,
Bernie
MS Excel MVP


"Bernie" wrote in message
...
I'm using the following formula if F8 =1 or 2:

=IF(AND(F8=1,MIN(EW8,FA8,FD8)DATE(2009,5,1)),"GO" ,IF(AND(F8=2,MIN(EW8,FA8,FC8,FD8)DATE(2009,5,1)), "GO","NO
GO"))

If F8 = 3, I want to use an "or" to shorten the formula below and add it to
formula above but I can't it out.

=IF(AND(F9=3,MIN(EZ9,FA9,FD9,GA9,GB9,GC9)DATE(200 9,5,1)),"GO",IF(AND(F9=3,MIN(FA9,FD9,GA9,GB9,GC9,G D9)DATE(2009,5,1)),"GO","NO
GO"))

Can't quite figure it out because of all the parenthesis'

Appreciate any help.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default formula problem

Hi Bernie Deitrick,

Using OR in that way may not work since each AND statement is looking at
different cells in the MIN part.

Cheers,
Shane Devenshire

"Bernie Deitrick" wrote:

Ooops, forgot the second formula

=IF(AND(OR(F9=3,F9=1,F9=2),MIN(EZ9,FA9,FD9,GA9,GB9 ,GC9)DATE(2009,5,1)),"GO","NO GO"))


Or, it you have a lot of integer values, something like:

=IF(AND(AND(F9=1,F9<=5),MIN(EZ9,FA9,FD9,GA9,GB9,G C9)DATE(2009,5,1)),"GO","NO GO"))

HTH,
Bernie
MS Excel MVP


"Bernie" wrote in message
...
I'm using the following formula if F8 =1 or 2:

=IF(AND(F8=1,MIN(EW8,FA8,FD8)DATE(2009,5,1)),"GO" ,IF(AND(F8=2,MIN(EW8,FA8,FC8,FD8)DATE(2009,5,1)), "GO","NO
GO"))

If F8 = 3, I want to use an "or" to shorten the formula below and add it to
formula above but I can't it out.

=IF(AND(F9=3,MIN(EZ9,FA9,FD9,GA9,GB9,GC9)DATE(200 9,5,1)),"GO",IF(AND(F9=3,MIN(FA9,FD9,GA9,GB9,GC9,G D9)DATE(2009,5,1)),"GO","NO
GO"))

Can't quite figure it out because of all the parenthesis'

Appreciate any help.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default formula problem

Hi,

=IF(AND(F9=3,OR(MIN(EZ9,FA9,FD9,GA9,GB9,GC9)DATE( 2009,5,1),MIN(FA9,FD9,GA9,GB9,GC9,GD9)DATE(2009,5 ,1))),"GO","NO GO")

Howerver, you could also shorten these formula by

Putting the date into a cell and referencing it, for example, in your first
formula:

=IF(AND(F8=1,MIN(D1,D3,D5)A1),,IF(AND(F8=2,MIN(D1 ,D3,D7,D5)A1),,"No "))&"Go"

Where A1 contains the date.

If this helps, please click the Yes button

Cheers,
Shane Devenshire

"Bernie" wrote:

I'm using the following formula if F8 =1 or 2:

=IF(AND(F8=1,MIN(EW8,FA8,FD8)DATE(2009,5,1)),"GO" ,IF(AND(F8=2,MIN(EW8,FA8,FC8,FD8)DATE(2009,5,1)), "GO","NO GO"))

If F8 = 3, I want to use an "or" to shorten the formula below and add it to
formula above but I can't it out.

=IF(AND(F9=3,MIN(EZ9,FA9,FD9,GA9,GB9,GC9)DATE(200 9,5,1)),"GO",IF(AND(F9=3,MIN(FA9,FD9,GA9,GB9,GC9,G D9)DATE(2009,5,1)),"GO","NO GO"))

Can't quite figure it out because of all the parenthesis'

Appreciate any help.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default formula problem

Thanks Shane. I added what you had to the other part and it worked.
Unfortunately the dates aren't static but I can see the logic to it. In this
worksheet eveything revolves what cell F's value is.

Appreciate your help.

"Shane Devenshire" wrote:

Hi,

=IF(AND(F9=3,OR(MIN(EZ9,FA9,FD9,GA9,GB9,GC9)DATE( 2009,5,1),MIN(FA9,FD9,GA9,GB9,GC9,GD9)DATE(2009,5 ,1))),"GO","NO GO")

Howerver, you could also shorten these formula by

Putting the date into a cell and referencing it, for example, in your first
formula:

=IF(AND(F8=1,MIN(D1,D3,D5)A1),,IF(AND(F8=2,MIN(D1 ,D3,D7,D5)A1),,"No "))&"Go"

Where A1 contains the date.

If this helps, please click the Yes button

Cheers,
Shane Devenshire

"Bernie" wrote:

I'm using the following formula if F8 =1 or 2:

=IF(AND(F8=1,MIN(EW8,FA8,FD8)DATE(2009,5,1)),"GO" ,IF(AND(F8=2,MIN(EW8,FA8,FC8,FD8)DATE(2009,5,1)), "GO","NO GO"))

If F8 = 3, I want to use an "or" to shorten the formula below and add it to
formula above but I can't it out.

=IF(AND(F9=3,MIN(EZ9,FA9,FD9,GA9,GB9,GC9)DATE(200 9,5,1)),"GO",IF(AND(F9=3,MIN(FA9,FD9,GA9,GB9,GC9,G D9)DATE(2009,5,1)),"GO","NO GO"))

Can't quite figure it out because of all the parenthesis'

Appreciate any 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
Another formula problem Frances C[_2_] Excel Worksheet Functions 6 November 1st 07 01:37 AM
Formula Problem Secret Squirrel Excel Discussion (Misc queries) 3 August 2nd 07 03:01 AM
Formula problem Dave Excel Discussion (Misc queries) 3 January 30th 07 10:58 PM
What is the problem with this formula? Teethless mama Excel Worksheet Functions 1 January 21st 07 06:18 PM
I have a problem with my Formula. Steved Excel Worksheet Functions 1 June 28th 06 03:08 AM


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