ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   array of data and nested bits (https://www.excelbanter.com/excel-worksheet-functions/227159-array-data-nested-bits.html)

Alqemyst

array of data and nested bits
 
Howdy,

I have two variables (width & Height) which determine a final costing.
Initially I tried nested IF statements but I have too many possibilities
(total of 30 outcomes). I then tried -

If Width 1 yes Lookup (Heights 1-5)
no if Width 2 yes Lookup (Heights 1-5)
no if Width 3 yes (lookup heights 1-5)

Its here that things start to fall apart, the equation doesn't look past the
second IF statement to acknowledge Width 3. The syntax seems correct, Excel
corrected it to make it so but the bugger just doesn't work

Bob Phillips[_3_]

array of data and nested bits
 
Is this actual code? excel or VBA?

--
__________________________________
HTH

Bob

"Alqemyst" wrote in message
...
Howdy,

I have two variables (width & Height) which determine a final costing.
Initially I tried nested IF statements but I have too many possibilities
(total of 30 outcomes). I then tried -

If Width 1 yes Lookup (Heights 1-5)
no if Width 2 yes Lookup (Heights 1-5)
no if Width 3 yes (lookup heights 1-5)

Its here that things start to fall apart, the equation doesn't look past
the
second IF statement to acknowledge Width 3. The syntax seems correct,
Excel
corrected it to make it so but the bugger just doesn't work





All times are GMT +1. The time now is 06:12 AM.

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