bfuentes1412
New Member
- Joined
- Apr 21, 2010
- Messages
- 37
- Office Version
- 365
- Platform
- Windows
Hello,
I'm trying to figure out a formula to determine a structure size (Q5) based on the total value of cells J6:N6 along with the value in P5. I partially can get it to work using nested "IF(AND.." but can't figure out how to mix in the "Cable Trench" and "2 banks of "*"" into the formula to make it work.
Here's the criteria... If the total value of J6:N6 is >4 and P5 is <=500, then 6x8'6".. If J6:N6 is <4 and P5 is <=500, then 92x74, IF J6:N6 is >4 and P5 is >500, then 8x10, IF ANY value in J6:N6 is = 2 banks of "*", then 8x10 (XFMR size doesn't matter), IF ANY value in J6:N6 = Cable Trench, then 10x12 (XFMR size doesn't matter). In the example provided, Q5 should return "10x12" b/c N6 list's "CABLE TRENCH".
Please let me know if I need to add more info or provide clarification. Thank you!
I'm trying to figure out a formula to determine a structure size (Q5) based on the total value of cells J6:N6 along with the value in P5. I partially can get it to work using nested "IF(AND.." but can't figure out how to mix in the "Cable Trench" and "2 banks of "*"" into the formula to make it work.
Here's the criteria... If the total value of J6:N6 is >4 and P5 is <=500, then 6x8'6".. If J6:N6 is <4 and P5 is <=500, then 92x74, IF J6:N6 is >4 and P5 is >500, then 8x10, IF ANY value in J6:N6 is = 2 banks of "*", then 8x10 (XFMR size doesn't matter), IF ANY value in J6:N6 = Cable Trench, then 10x12 (XFMR size doesn't matter). In the example provided, Q5 should return "10x12" b/c N6 list's "CABLE TRENCH".
Please let me know if I need to add more info or provide clarification. Thank you!
All in One Calculator v2.xlsm | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
I | J | K | L | M | N | O | P | Q | R | S | |||
3 | panel 1 | panel 2 | panel 3 | panel 4 | panel 5 | xfmr size | structure | structure size | |||||
4 | 92x74 | ||||||||||||
5 | duct size | 4" | 4" | 4" | 4" | 24x36 | 500 | 6x8'6" | 6x8'6" | ||||
6 | # of duct | 1 | 1 | 1 | 2 | CABLE TRENCH | 8x10 | ||||||
7 | 10x12 | ||||||||||||
Sheet2 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
Q5 | Q5 | =IF(AND(SUM(J6:N6)>4,P5<=500),S5,IF(AND(SUM(J6:N6)<=4,P5<=500),S4,IF(AND(SUM(J6:N6)>4,P5>500),S6,IF(AND(SUM(J6:N6)<=4,P5>500),S6,S7)))) |