K kalpesh39 New Member Feb 28, 2013 #1 hello, i need to put if command to get result in different cell for example A1-B1 = or < 0 the result should be zero only ( i wish to avoid (- figurs) can any body help me please
hello, i need to put if command to get result in different cell for example A1-B1 = or < 0 the result should be zero only ( i wish to avoid (- figurs) can any body help me please
mahaveer Member Feb 28, 2013 #2 put the formula in C1 =If((A1-B1)<0,0,(A1-B1)) Regards CA Mahaveer Somani
N NARAYANK991 Excel Ninja Feb 28, 2013 #3 Hi Kalpesh , Use the MAX function , as in =MAX(0,A1) will give 0 if A1 is less than 0. Instead of A1 , you can have any formula also. Narayan
Hi Kalpesh , Use the MAX function , as in =MAX(0,A1) will give 0 if A1 is less than 0. Instead of A1 , you can have any formula also. Narayan
K kalpesh39 New Member Feb 28, 2013 #4 hey thanks Mahaveer its working @ Narayan i dident understand Max Function coz i wish to avoid -ve value in result box a1 & b1 both contains +ve values thanks
hey thanks Mahaveer its working @ Narayan i dident understand Max Function coz i wish to avoid -ve value in result box a1 & b1 both contains +ve values thanks