V
vjboaz
I trying to update the value of Bulk based on the value in BulkA:
Bulk:
IIf((BulkA="0","0"),IIf((BulkA>"0") and
(BulkA<="0.0925"),"1/8"),IIf((BulkA>"0.0925") And (BulkA<="0.2800"),"1/4"),
IIf((BulkA>"0.2800") And (BulkA<="0.4050"),"3/8"), IIf((BulkA>"0.4050") And
(BulkA<="0.5300"),"1/2"), IIf((BulkA>"0.5300") And (BulkA<="0.6550"),"5/8"),
IIf((BulkA>"0.6550") And (BulkA<="0.7800"),"3/4"), IIf((BulkA>"0.7800") And
(BulkA<="0.9050"),"7/8"), IIf((BulkA>"0.9050") And
(BulkA<="1.030"),"1"), IIf((BulkA>"1.030") And
(BulkA<="1.1550"),"1-1/8"), IIf((BulkA>"1.1550") And
(BulkA<="1.2800"),"1-1/4"),IIf((BulkA>"1.2800") And
(BulkA<="1.5000"),"1-1/2"),IIF(BulkA>"1.5000","Bulk is greater than 1-1/2"))
I keep getting an error message about the arguments... what am I doing wrong?
Veronica
Bulk:
IIf((BulkA="0","0"),IIf((BulkA>"0") and
(BulkA<="0.0925"),"1/8"),IIf((BulkA>"0.0925") And (BulkA<="0.2800"),"1/4"),
IIf((BulkA>"0.2800") And (BulkA<="0.4050"),"3/8"), IIf((BulkA>"0.4050") And
(BulkA<="0.5300"),"1/2"), IIf((BulkA>"0.5300") And (BulkA<="0.6550"),"5/8"),
IIf((BulkA>"0.6550") And (BulkA<="0.7800"),"3/4"), IIf((BulkA>"0.7800") And
(BulkA<="0.9050"),"7/8"), IIf((BulkA>"0.9050") And
(BulkA<="1.030"),"1"), IIf((BulkA>"1.030") And
(BulkA<="1.1550"),"1-1/8"), IIf((BulkA>"1.1550") And
(BulkA<="1.2800"),"1-1/4"),IIf((BulkA>"1.2800") And
(BulkA<="1.5000"),"1-1/2"),IIF(BulkA>"1.5000","Bulk is greater than 1-1/2"))
I keep getting an error message about the arguments... what am I doing wrong?
Veronica