Ifthisthanthat
New Member
- Joined
- Mar 7, 2018
- Messages
- 4
Hi all, newbie here, don't know what else to use besides IF function for this. Reaching nesting limit doing it this way. Any alternative ideas are appreciated!
Formula in B5 of image attached:
=IF((AND(C2=1.5,D2="L",H2=0.625)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$10, (isolating this on one line so you can see it better)
IF((AND(C2=1.5,D2="L",H2=1)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$11,IF((AND(C2=2,D2="L",H2=0.625)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$12,IF((AND(C2=2,D2="L",H2=1)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$13,IF((AND(C2=2,D2="L",H2=1.375)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$14,IF((AND(C2=2.5,D2="L",H2=0.625)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$15,IF((AND(C2=2.5,D2="L",H2=1)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$16,IF((AND(C2=2.5,D2="L",H2=1.375)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$17,IF((AND(C2=2.5,D2="L",H2=1.75)),'[1-MASTER.xls]A & LH SINGLE ROD, etc...., "ERROR")))
Logic in English, shown in "data" image attached: if cylinder's bore is 1.5", mount is "L" (or tie rod-column M), and rod diameter is .625", then "base price" is $223 (or $M$11).
In my case, for each mounting style (like the L mount), I have approximately 70 individual IF statements. From the sheet, you can see a lot of other mounting styles existing in the columns to the right of the "L" mounting style. I was going to do individual spreadsheets/pricing tools for each mounting style. Unless, whatever solution is suggested can accommodate much more date (IE approximately 70 individual statements multiplied by 16 mounting styles).
Thanks for any and all help!!!!!
Formula in B5 of image attached:
=IF((AND(C2=1.5,D2="L",H2=0.625)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$10, (isolating this on one line so you can see it better)
IF((AND(C2=1.5,D2="L",H2=1)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$11,IF((AND(C2=2,D2="L",H2=0.625)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$12,IF((AND(C2=2,D2="L",H2=1)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$13,IF((AND(C2=2,D2="L",H2=1.375)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$14,IF((AND(C2=2.5,D2="L",H2=0.625)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$15,IF((AND(C2=2.5,D2="L",H2=1)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$16,IF((AND(C2=2.5,D2="L",H2=1.375)),'[1-MASTER.xls]A & LH SINGLE ROD END'!$M$17,IF((AND(C2=2.5,D2="L",H2=1.75)),'[1-MASTER.xls]A & LH SINGLE ROD, etc...., "ERROR")))
Logic in English, shown in "data" image attached: if cylinder's bore is 1.5", mount is "L" (or tie rod-column M), and rod diameter is .625", then "base price" is $223 (or $M$11).
In my case, for each mounting style (like the L mount), I have approximately 70 individual IF statements. From the sheet, you can see a lot of other mounting styles existing in the columns to the right of the "L" mounting style. I was going to do individual spreadsheets/pricing tools for each mounting style. Unless, whatever solution is suggested can accommodate much more date (IE approximately 70 individual statements multiplied by 16 mounting styles).
Thanks for any and all help!!!!!