Hello All!! I am new to this forum and would appreciate any help. I have information regarding 30 different stores, i.e. gross sales, wages, store operations, profit etc... I have imported all the info into access tables. I want to run a query that will tell me what quartile 1st, 2nd, 3rd or 4th each stores info for each criteria lies compared to the other stores.
I did it in excel by using the MAXA statement for a group like gross sales for all stores, then dividing each field under gross sales to come up with a percentage. From that i then wrote a if statement =IF(C2>0.75, 4, IF(C2>0.5, 3, IF(C2>0.25, 2, IF(C2>0, 1)))) where c2 represents a field for a store under gross sales.
I want to automate it in access rather than having to create excel tables every time when comparing year over year... is there any way in access to do all this?
thanks,
cvkd
I did it in excel by using the MAXA statement for a group like gross sales for all stores, then dividing each field under gross sales to come up with a percentage. From that i then wrote a if statement =IF(C2>0.75, 4, IF(C2>0.5, 3, IF(C2>0.25, 2, IF(C2>0, 1)))) where c2 represents a field for a store under gross sales.
I want to automate it in access rather than having to create excel tables every time when comparing year over year... is there any way in access to do all this?
thanks,
cvkd