Hi,
Using MS Access 2003.
I have a formula in a field that looks like this: =([Curr_Vis_Out]-[Prev_Vis_Out])/[Prev_Vis_Out] to get the percent of a change between two periods. I am getting a 0 if either fields is a zero value. How can I program this to accommodate when the zero is in the denominator or the numerator. I think it should work is way: if the [Curr_Vis_Out] = 0 or null the result should be (-100%) but if the [Prev_Vis_Out] = 0 or null the result should be 100%.
Thanks
Mo
Using MS Access 2003.
I have a formula in a field that looks like this: =([Curr_Vis_Out]-[Prev_Vis_Out])/[Prev_Vis_Out] to get the percent of a change between two periods. I am getting a 0 if either fields is a zero value. How can I program this to accommodate when the zero is in the denominator or the numerator. I think it should work is way: if the [Curr_Vis_Out] = 0 or null the result should be (-100%) but if the [Prev_Vis_Out] = 0 or null the result should be 100%.
Thanks
Mo