I have a spreadsheet with various worksheets in it. From these worksheets, I want to create another, based on the data in the previous worksheets. I've tried to do this using MS Query and SQL to grab the data and this works fine, except one of the columns I wish to display is a percentage valuation of two others. E.G
Total_Hours Hours_So_far %Complete
50 10 20
In order to do this I am dividing 10 by 50 and multiplying by 100. The answer I get back all the time is 0 and what I believe it is doing is dividing 10 by 50, getting 0.2 and losing the decimal place.
Both columns in the worksheets are formatted as numbers to two decimal places.
Does anyone have a clue on how to get round this?
Total_Hours Hours_So_far %Complete
50 10 20
In order to do this I am dividing 10 by 50 and multiplying by 100. The answer I get back all the time is 0 and what I believe it is doing is dividing 10 by 50, getting 0.2 and losing the decimal place.
Both columns in the worksheets are formatted as numbers to two decimal places.
Does anyone have a clue on how to get round this?