Hello,
I have a cell (F10) that picks up values from cells B10 and C10 that have times, for example if cell B10 or cell C10 have 11:00 hours i recieve in cell F10 5 euros.
i have this logical function in cell F10:
=IF(AND(B10>=TIME(0;0;0);B10<=TIME(13;0;0);NOT(B10 =""));5;IF(AND(B10>TIME(13;0;0);B10<=TIME(21;0;0)) ;10;IF(AND(B10>TIME(21;0;0);B10<=TIME(23;59;59));1 5;IF(AND(C10>=TIME(0;0;0);C10<=TIME(13;0;0);NOT(C1 0=""));5;IF(AND(C10>TIME(13;0;0);C10<=TIME(20;0;0) );10;IF(AND(C10>TIME(20;0;0);C10<=TIME(23;59;59)); 15; IF(AND(NOT(B10="";C10=""));20;0)))))))
Its all working fine but excel says that i have too many arguments, its possible to shrink this ?
This last part is to when the both cells B10 and C10 have some kind of time i want the value 20 euros in cell F10.
IF(AND(NOT(B10="";C10=""));20;0)))))))
Thanks
Bookmarks