I have a table that has several rows of data.
I want to be able to take column 5 and sum them into one number. Then take column 6 and sum them into a number. i then want to take the two sums and divides c6 int0 c5 and receive an overall percentage.
Then I want to the overall percentage and divide it by the sum of c6 and store this result temporarily.
Then i want to take the next whole number percentage and get the difference between the current overall percentage.
Then i want to take this value and divide it out by the temporary value stored earlier and round this value up to the next whole number
Example: SUMC6 / SumC5 = Overall percentage . This i can calculate and get 52.9 From here is where I have issues.
I take 52.9 / 12359(SumC6) = .0042802 Then I I take 52.9 - 53 = .1 Then take .1 / .0042802 = 23.363394
How can I get this data to return back in a query? Im sure I havent provided enough information let me know how else I can help get this solved.
Thank you in advance.