I'm trying to nest IF functions but am not getting the results I need and am hoping I can find some (more) help.
I'm trying to tell Excel that if J84= 7, 8, 11, or 12 then the value in AA2 needs to be multiplied by (0.1005*TAN((3.1416/180)*(90-CSV!AA2))))-(0.0693*SIN((3.1416/180)*(90-(CSV!AA2/2)))) (bend allowance formula for a subtended angle). My problem is that if J84 equals 7, 8, 11, or 12 it doesn't multiply anything out, it simply lists the formula. I think I missed something but I can't figure out what was missed or how to fix it. Does anybody have any suggestions?
This is my formula:
=IF(CSV!J84=7,"CSV!AA2*(0.1005*TAN((3.1416/180)*(90-CSV!AA2))))-(0.0693*SIN((3.1416/180)*(90-(CSV!AA2/2))))",IF(CSV!J84=8,"CSV!AA2*(0.1005*TAN((3.1416/180)*(90-CSV!AA2))))-(0.0693*SIN((3.1416/180)*(90-(CSV!AA2/2))))",IF(CSV!J84=11,"CSV!AA2*(0.1005*TAN((3.1416/180)*(90-CSV!AA2))))-(0.0693*SIN((3.1416/180)*(90-(CSV!AA2/2))))",IF(CSV!J84=12,"CSV!AA2*(0.1005*TAN((3.1416/180)*(90-CSV!AA2))))-(0.0693*SIN((3.1416/180)*(90-(CSV!AA2/2))))",0))))
Regards,
Nanaia
"Do or do not, there is no try"~Yoda
P.S. you folks are awesome.
I'm trying to tell Excel that if J84= 7, 8, 11, or 12 then the value in AA2 needs to be multiplied by (0.1005*TAN((3.1416/180)*(90-CSV!AA2))))-(0.0693*SIN((3.1416/180)*(90-(CSV!AA2/2)))) (bend allowance formula for a subtended angle). My problem is that if J84 equals 7, 8, 11, or 12 it doesn't multiply anything out, it simply lists the formula. I think I missed something but I can't figure out what was missed or how to fix it. Does anybody have any suggestions?
This is my formula:
=IF(CSV!J84=7,"CSV!AA2*(0.1005*TAN((3.1416/180)*(90-CSV!AA2))))-(0.0693*SIN((3.1416/180)*(90-(CSV!AA2/2))))",IF(CSV!J84=8,"CSV!AA2*(0.1005*TAN((3.1416/180)*(90-CSV!AA2))))-(0.0693*SIN((3.1416/180)*(90-(CSV!AA2/2))))",IF(CSV!J84=11,"CSV!AA2*(0.1005*TAN((3.1416/180)*(90-CSV!AA2))))-(0.0693*SIN((3.1416/180)*(90-(CSV!AA2/2))))",IF(CSV!J84=12,"CSV!AA2*(0.1005*TAN((3.1416/180)*(90-CSV!AA2))))-(0.0693*SIN((3.1416/180)*(90-(CSV!AA2/2))))",0))))
Regards,
Nanaia
"Do or do not, there is no try"~Yoda
P.S. you folks are awesome.