in reply to Re^3: incorrect results
in thread incorrect results

I corrected the data structure and its working now. thank u