hershpatel
New Member
- Joined
- Aug 27, 2015
- Messages
- 5
Hi I am trying to check if the cell [@channel] condition is met before doing a index and match function
=IF([@channel]="flipkart",INDEX(shippingflipkart!$B$2:$Q$3,MATCH('day1'!I4,shippingflipkart!$A$2:$A$3),MATCH(L4,shippingflipkart!$B$1:$Q$1)),IF([@channel]="amazon",INDEX(shippingamazon!$B$2:$Q$3,MATCH('day1'!I4,shippingamazon!$A$2:$A$3),MATCH(L4,shippingamazon!$B$1:$Q$1))), (if([@channel]="rediff", INDEX(shippingrediff!$B$2:$Q$3,MATCH('day1'!I4,shippingrediff!$A$2:$A$3),MATCH(L4,shippingrediff!$B$1:$Q$1)))))
The fomula works fine but as soon as i add the last if statement it gives me an error. You have entered too many arguments for this function
I actually need to add 3 more if statements after this. Please help
=IF([@channel]="flipkart",INDEX(shippingflipkart!$B$2:$Q$3,MATCH('day1'!I4,shippingflipkart!$A$2:$A$3),MATCH(L4,shippingflipkart!$B$1:$Q$1)),IF([@channel]="amazon",INDEX(shippingamazon!$B$2:$Q$3,MATCH('day1'!I4,shippingamazon!$A$2:$A$3),MATCH(L4,shippingamazon!$B$1:$Q$1))), (if([@channel]="rediff", INDEX(shippingrediff!$B$2:$Q$3,MATCH('day1'!I4,shippingrediff!$A$2:$A$3),MATCH(L4,shippingrediff!$B$1:$Q$1)))))
The fomula works fine but as soon as i add the last if statement it gives me an error. You have entered too many arguments for this function
I actually need to add 3 more if statements after this. Please help