Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

EXCEL FORMULA

Posted on 2014-10-10
7
Medium Priority
?
186 Views
Last Modified: 2014-10-10
Hello

I am look for a way in Excel to convert a String column-A (fix lenght of 8 characters) to number column-B as follow

COLUMN-A (fix lenght of 8 char)      COLUMN-B (number)

12345678   will give           123456,78
00000006 will give                         0,06
00034434 will give                    344,34
00000011 will give                        0,11

Thank you for your help
Rgds
0
Comment
Question by:gadsad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 6

Accepted Solution

by:
johnb25 earned 2000 total points
ID: 40372750
If text in Col A
=ROUND(VALUE(A1)/100,2)

John
0
 
LVL 19

Expert Comment

by:helpfinder
ID: 40372759
try this one
=LEFT(A1,6)&","&RIGHT(A1,2)
0
 

Author Comment

by:gadsad
ID: 40372771
Very nice, but for 0,06 it displays 000000,06 (it keeps the 8 characters even for numbers)
Any way to change it afterwards  to 0,06 maybe?
Thanks
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 6

Expert Comment

by:johnb25
ID: 40372774
@ helpfinder, I think the ask was for a number, your formula is Text.
I am taking the , to be a European decimal format.

John
0
 

Author Comment

by:gadsad
ID: 40372788
Sorry I do not understand your answer... what is @helpfinder?

Yes the , is indeed the European decimal format

Thanks
0
 
LVL 19

Expert Comment

by:helpfinder
ID: 40372796
then try to remove leading zeros from my result by multiple it with 1 in next cell - see attachment
you can have additional columns then, or just to hide helping columns
sample.xlsx
0
 

Author Closing Comment

by:gadsad
ID: 40372813
perfect
Thank you
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question