Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Combine logical formulas "if", "and", "or"

I'm trying to flag $ and % of variances within a range. If the $ variance
(AR32) is greater than $450,000 (AV1) and % variance (AS32) greater than 5%
(AW1), OR, if the $ variance (AR32)is less than -$450,000(AV2) and %variance
(AS32) -5% (AW2), I want to output "Problem" (AT32). If the variance falls
within the $ and % range I want to output "Acceptable" (AT32)

I tried the following, but it doesn't work:
=IF(OR($AR32$AV$1,$AS32$AW$1,$AR32<$AV$2,$AS32<$ AW$2),"Problem","Acceptable")
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Combine logical formulas "if", "and", "or"

Hey man, try this one:
=If(OR(AND(AR32AV1;AS32AW1);AND(AR32<AV2;AS32<AW 2));"Problem";"Acceptable")

If that works plz tell me, k?
cya

"pscu" escreveu:

I'm trying to flag $ and % of variances within a range. If the $ variance
(AR32) is greater than $450,000 (AV1) and % variance (AS32) greater than 5%
(AW1), OR, if the $ variance (AR32)is less than -$450,000(AV2) and %variance
(AS32) -5% (AW2), I want to output "Problem" (AT32). If the variance falls
within the $ and % range I want to output "Acceptable" (AT32)

I tried the following, but it doesn't work:
=IF(OR($AR32$AV$1,$AS32$AW$1,$AR32<$AV$2,$AS32<$ AW$2),"Problem","Acceptable")

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Combine logical formulas "if", "and", "or"

That didn't work. I got an error message that the formula contained an error.
I copied & pasted your formula in cell AT32.

"mantros" wrote:

Hey man, try this one:
=If(OR(AND(AR32AV1;AS32AW1);AND(AR32<AV2;AS32<AW 2));"Problem";"Acceptable")

If that works plz tell me, k?
cya

"pscu" escreveu:

I'm trying to flag $ and % of variances within a range. If the $ variance
(AR32) is greater than $450,000 (AV1) and % variance (AS32) greater than 5%
(AW1), OR, if the $ variance (AR32)is less than -$450,000(AV2) and %variance
(AS32) -5% (AW2), I want to output "Problem" (AT32). If the variance falls
within the $ and % range I want to output "Acceptable" (AT32)

I tried the following, but it doesn't work:
=IF(OR($AR32$AV$1,$AS32$AW$1,$AR32<$AV$2,$AS32<$ AW$2),"Problem","Acceptable")

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Combine logical formulas "if", "and", "or"

k, try this:

=IF(AND(AR32AV1;AS32AW1);"Problem";IF(AND(AR32<A V2;AS32<AW2);"Problem";"Acceptable"))

If still doesn't work (it did here), verify if ur $ format is the same in
every $ cell. The same for the % cells.

Oh yeah, if ur not using an english office, careful when translating the
functions, k?

i'll be still here for a time, so plz test and tell if u have any trouble.

cya

"pscu" escreveu:

That didn't work. I got an error message that the formula contained an error.
I copied & pasted your formula in cell AT32.

"mantros" wrote:

Hey man, try this one:
=If(OR(AND(AR32AV1;AS32AW1);AND(AR32<AV2;AS32<AW 2));"Problem";"Acceptable")

If that works plz tell me, k?
cya

"pscu" escreveu:

I'm trying to flag $ and % of variances within a range. If the $ variance
(AR32) is greater than $450,000 (AV1) and % variance (AS32) greater than 5%
(AW1), OR, if the $ variance (AR32)is less than -$450,000(AV2) and %variance
(AS32) -5% (AW2), I want to output "Problem" (AT32). If the variance falls
within the $ and % range I want to output "Acceptable" (AT32)

I tried the following, but it doesn't work:
=IF(OR($AR32$AV$1,$AS32$AW$1,$AR32<$AV$2,$AS32<$ AW$2),"Problem","Acceptable")

  #5   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Combine logical formulas "if", "and", "or"

Your first formula worked fine for me - but had the change the ";" to "," for
my system (Windows based - U.S.)


"mantros" wrote:

k, try this:

=IF(AND(AR32AV1;AS32AW1);"Problem";IF(AND(AR32<A V2;AS32<AW2);"Problem";"Acceptable"))

If still doesn't work (it did here), verify if ur $ format is the same in
every $ cell. The same for the % cells.

Oh yeah, if ur not using an english office, careful when translating the
functions, k?

i'll be still here for a time, so plz test and tell if u have any trouble.

cya

"pscu" escreveu:

That didn't work. I got an error message that the formula contained an error.
I copied & pasted your formula in cell AT32.

"mantros" wrote:

Hey man, try this one:
=If(OR(AND(AR32AV1;AS32AW1);AND(AR32<AV2;AS32<AW 2));"Problem";"Acceptable")

If that works plz tell me, k?
cya

"pscu" escreveu:

I'm trying to flag $ and % of variances within a range. If the $ variance
(AR32) is greater than $450,000 (AV1) and % variance (AS32) greater than 5%
(AW1), OR, if the $ variance (AR32)is less than -$450,000(AV2) and %variance
(AS32) -5% (AW2), I want to output "Problem" (AT32). If the variance falls
within the $ and % range I want to output "Acceptable" (AT32)

I tried the following, but it doesn't work:
=IF(OR($AR32$AV$1,$AS32$AW$1,$AR32<$AV$2,$AS32<$ AW$2),"Problem","Acceptable")



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Combine logical formulas "if", "and", "or"

THANK YOU BOTH..... The formula worked and I used the ",".

"JMB" wrote:

Your first formula worked fine for me - but had the change the ";" to "," for
my system (Windows based - U.S.)


"mantros" wrote:

k, try this:

=IF(AND(AR32AV1;AS32AW1);"Problem";IF(AND(AR32<A V2;AS32<AW2);"Problem";"Acceptable"))

If still doesn't work (it did here), verify if ur $ format is the same in
every $ cell. The same for the % cells.

Oh yeah, if ur not using an english office, careful when translating the
functions, k?

i'll be still here for a time, so plz test and tell if u have any trouble.

cya

"pscu" escreveu:

That didn't work. I got an error message that the formula contained an error.
I copied & pasted your formula in cell AT32.

"mantros" wrote:

Hey man, try this one:
=If(OR(AND(AR32AV1;AS32AW1);AND(AR32<AV2;AS32<AW 2));"Problem";"Acceptable")

If that works plz tell me, k?
cya

"pscu" escreveu:

I'm trying to flag $ and % of variances within a range. If the $ variance
(AR32) is greater than $450,000 (AV1) and % variance (AS32) greater than 5%
(AW1), OR, if the $ variance (AR32)is less than -$450,000(AV2) and %variance
(AS32) -5% (AW2), I want to output "Problem" (AT32). If the variance falls
within the $ and % range I want to output "Acceptable" (AT32)

I tried the following, but it doesn't work:
=IF(OR($AR32$AV$1,$AS32$AW$1,$AR32<$AV$2,$AS32<$ AW$2),"Problem","Acceptable")

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
How do you combine 2 or more formulas with different totals? Trisha V via OfficeKB.com Excel Discussion (Misc queries) 22 August 3rd 05 10:50 PM
Help combine 2 formulas into 1 Robert Excel Worksheet Functions 5 April 1st 05 08:55 AM
Combine two formulas in one cell T.R. Excel Discussion (Misc queries) 1 March 9th 05 11:55 PM
How do I combine the 4 IF formulas into 1 formula Robert Excel Worksheet Functions 5 February 7th 05 08:19 AM
How can I combine IF, COLUMN, and LARGE formulas in a single cell? Liam Judd Excel Worksheet Functions 1 November 17th 04 07:52 AM


All times are GMT +1. The time now is 06:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"