Link to home
Start Free TrialLog in
Avatar of Pau Lo
Pau Lo

asked on

add decimal point

I have a column in an excel spreadsheet (currently) formatted in general which is essentially a number i.e. 456789, in the column next to it I need a formula whereby it adds a "." 3 characters in from the right, i.e. 456789 needs to become 4567.89

any ideas how this could be done?
ASKER CERTIFIED SOLUTION
Avatar of Naresh Patel
Naresh Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is as per your result but you said
it adds a "." 3 characters in from the right

then there will be different formula. pls clarify.

Thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ditto  !!!!
Ignore my comment. itjockey has already posted exactly the same formula.
Avatar of Pau Lo
Pau Lo

ASKER

for both I get a formula error, I changed the cells accordinly. Could this be to do with how the current column is formatted, and the formula column is formatted? both are currently formatted "general".
Nope .....where is your data located i.e column?
Avatar of Pau Lo

ASKER

AA2:200, and in AB2I put the formula and changed values accordinly and get this error:

http://www.treeplan.com/images/formula-typed-error.jpg

file is formatted csv, excel 2010.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pau Lo

ASKER

Rob H - I even get the same formula error when running your query!
That error message normally suggests you have missed something from the formula and Excel is unable to determine and correct the error automatically, eg missing brackets where it is not obvious where the missing brackets should be or inclusion of text within double quotes that are not closed out.

Thanks
Rob H
Avatar of Pau Lo

ASKER

this is crazy, I created a new spreadsheet, copied and pasted some sample data and still I get the same error. to any formula, what the hell?
Which nationality version of Excel are you using? Some versions require semi-colon ";" separator in the formula rather than comma ",".

Thanks
Rob H
Avatar of Pau Lo

ASKER

its just british version of excel.
Avatar of Pau Lo

ASKER

this is crazy, if I open excel on another machine, run the same query it works fine. So its like some issue with the software.
Avatar of Pau Lo

ASKER

anyone got a theory why that formula would work on one installation of excel and not another. could it be a global setting in excel affecting this?
Avatar of Pau Lo

ASKER

normal formulas i.e. =a1/2 work, it just seems to be text based formulas like len, right, left etc.
Avatar of Pau Lo

ASKER

nor can I even do a search and replace, I must have pressed some shortcut key combo and its screwed things up.
can you post your original xls file with only the column that you want to change???
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial