Dear All,
I have 3 WS in a work book for logistic planning. In WS 1, I named a range "City" where I have multiple city names with Data validation list. Then I have second WS where I have 2 differnt columns named "D_T" representing diffrent type of delivery and then I have another column named "WT" representing Waight of shipment and finaly I have diffrent rates for Road Frieght, Air Frieght and Local delivery rates.
I need to formulate a formula with differnt combination of crietaria. Following is the formula but I am unable to trace the error.
=IF(City="Karachi",IF(D_T="Karachi",unit*KC,0),IF(City="Islamabad",IF(D_T="Over Land",WT*OL,WT*ON))),IF(City="Lahore",IF(D_T="Over Land",WT*OL,WT*ON))
OL=Over Land charges
ON=Over Night Charges
Unit=Total Boxes
I have shorten formula else I have 5 cities in total in my City column.
Can anyone suggest a shorter way of doing this, (I am not good in macro or VB) so my only choice is formula base solution.
Thanks in advance.
Tareen
I have 3 WS in a work book for logistic planning. In WS 1, I named a range "City" where I have multiple city names with Data validation list. Then I have second WS where I have 2 differnt columns named "D_T" representing diffrent type of delivery and then I have another column named "WT" representing Waight of shipment and finaly I have diffrent rates for Road Frieght, Air Frieght and Local delivery rates.
I need to formulate a formula with differnt combination of crietaria. Following is the formula but I am unable to trace the error.
=IF(City="Karachi",IF(D_T="Karachi",unit*KC,0),IF(City="Islamabad",IF(D_T="Over Land",WT*OL,WT*ON))),IF(City="Lahore",IF(D_T="Over Land",WT*OL,WT*ON))
OL=Over Land charges
ON=Over Night Charges
Unit=Total Boxes
I have shorten formula else I have 5 cities in total in my City column.
Can anyone suggest a shorter way of doing this, (I am not good in macro or VB) so my only choice is formula base solution.
Thanks in advance.
Tareen