ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help with Logical Formula (https://www.excelbanter.com/excel-worksheet-functions/164833-help-logical-formula.html)

talltom

Help with Logical Formula
 
This is part of a formula I am trying to make work.
Any help would be greatly appreciated.

$B$102=53000, $B$103=7000, and $B$104=6000, $D$96=12

What I would like to see happen is for B24 to return the number 12 if the
number I enter into B$7 is greater than $B$102, or $B$103, or $B$104. The
rest of the formula works fine.

B24 = the formula;
=IF($B$7$B$102,$D$96,IF(AND(B$17<=$B$105,$F$50,B $20<=6),($F$5*$D$106)+$D$97,IF(AND(B$17$B$105,B$2 0<=6),$D$98+(B$17*$B$106*$F$5),IF(B$206,($F$5*$D$ 99)+$D$97+(B$17*$B$106*$F$5),$D$100))))

Thanks in advance.

bj

Help with Logical Formula
 
=if(b7max(b102:b104),12,otherwise)

"talltom" wrote:

This is part of a formula I am trying to make work.
Any help would be greatly appreciated.

$B$102=53000, $B$103=7000, and $B$104=6000, $D$96=12

What I would like to see happen is for B24 to return the number 12 if the
number I enter into B$7 is greater than $B$102, or $B$103, or $B$104. The
rest of the formula works fine.

B24 = the formula;
=IF($B$7$B$102,$D$96,IF(AND(B$17<=$B$105,$F$50,B $20<=6),($F$5*$D$106)+$D$97,IF(AND(B$17$B$105,B$2 0<=6),$D$98+(B$17*$B$106*$F$5),IF(B$206,($F$5*$D$ 99)+$D$97+(B$17*$B$106*$F$5),$D$100))))

Thanks in advance.


talltom

Help with Logical Formula
 
Thank you "bj", but your formula is only returning 12 when the number I enter
into $B$7 is 53001 or higher. We need it to return 12 if I enter 6001, or to
return 12 if I enter 7001, or to return 12 if I enter 53001 into $B$7

We need it to recognize any of the number series, not just the largest one.

These numbers represent 3--Work Order number series we are using.

I am sorry if I was not clear enough.

"bj" wrote:

=if(b7max(b102:b104),12,otherwise)

"talltom" wrote:

This is part of a formula I am trying to make work.
Any help would be greatly appreciated.

$B$102=53000, $B$103=7000, and $B$104=6000, $D$96=12

What I would like to see happen is for B24 to return the number 12 if the
number I enter into B$7 is greater than $B$102, or $B$103, or $B$104. The
rest of the formula works fine.

B24 = the formula;
=IF($B$7$B$102,$D$96,IF(AND(B$17<=$B$105,$F$50,B $20<=6),($F$5*$D$106)+$D$97,IF(AND(B$17$B$105,B$2 0<=6),$D$98+(B$17*$B$106*$F$5),IF(B$206,($F$5*$D$ 99)+$D$97+(B$17*$B$106*$F$5),$D$100))))

Thanks in advance.


Pete_UK

Help with Logical Formula
 
So really, anything larger than 6000 should cause 12 to be returned.
Try it this way round:

=if(b7min(b102:b104),12,otherwise)

Hope this helps.

Pete

On Nov 5, 7:24 pm, talltom wrote:
Thank you "bj", but your formula is only returning 12 when the number I enter
into $B$7 is 53001 or higher. We need it to return 12 if I enter 6001, or to
return 12 if I enter 7001, or to return 12 if I enter 53001 into $B$7

We need it to recognize any of the number series, not just the largest one.

These numbers represent 3--Work Order number series we are using.

I am sorry if I was not clear enough.



"bj" wrote:
=if(b7max(b102:b104),12,otherwise)


"talltom" wrote:


This is part of a formula I am trying to make work.
Any help would be greatly appreciated.


$B$102=53000, $B$103=7000, and $B$104=6000, $D$96=12


What I would like to see happen is for B24 to return the number 12 if the
number I enter into B$7 is greater than $B$102, or $B$103, or $B$104. The
rest of the formula works fine.


B24 = the formula;
=IF($B$7$B$102,$D$96,IF(AND(B$17<=$B$105,$F$50,B $20<=6),($F$5*$D$106)+$D$*97,IF(AND(B$17$B$105,B$ 20<=6),$D$98+(B$17*$B$106*$F$5),IF(B$206,($F$5*$D $*99)+$D$97+(B$17*$B$106*$F$5),$D$100))))


Thanks in advance.- Hide quoted text -


- Show quoted text -




talltom

Help with Logical Formula
 
Thank you also Peter_UK. That is not it either.

Yes, I do want the cell B24 to return 12 if I enter 6001 in B7, But, I want
it to enter a different number if B7 is less than 6000

Yes, I do want the cell B24 to return 12 if I enter 7001 in B7, But, I want
it to enter a different number if B7 is less tha 7000

Yes, I do want the cell B24 to return 12 if I enter 53001 in B7, But, I want
it to enter a different number if B7 is less tha 53000

B24 = the full formula;
=IF($B$7$B$102,$D$96,IF(AND(B$17<=$B$105,$F$50,B $20<=6),($F$5*$D$106)+$D$-97,IF(AND(B$17$B$105,B$20<=6),$D$98+(B$17*$B$106* $F$5),IF(B$206,($F$5*$D$-99)+$D$97+(B$17*$B$106*$F$5),$D$100))))


All times are GMT +1. The time now is 10:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com