Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.

Get a Professional Answer

Via email, text message, or notification as you wait on our site. Ask follow up questions if you need to.

100% Satisfaction Guarantee

Rate the answer you receive.

Ask John D Your Own Question

John D, Bachelor's Degree

Category: Microsoft Office

Satisfied Customers: 9666

Experience: Bachelor of Science - Engineering Consultant

53785

Type Your Microsoft Office Question Here...

John D is online now

I need to figure out how these numbers would be if right justified

This answer was rated:

★★★★★

I need to figure out how these numbers would be if right justified or left justified. Please help me do it but also explain the logic. Also these numbers need to be at least three digits, max 5. If not, should they have leading or ending zeroes based on the justification.

Ok could you show me the desired result for each of these numbers so I can understand how you want them formatted and up the formula or macro to replicate the results

i am not sure about your question. you see my problem is: the data i have is just 2-5 numbers. they actually represent diagnostic ICD-9 codes. These codes have decimals, but the data I have does not have that. I know there is a logic based on whether the data has been right justified or left justified. But i can't get that information. So I am trying to figure it out.

Thus,

12345 could be either 123.45 or 12.345

1234 could be 12.34 or 123.40

123 could be 12.3 or 123.0

12 gets one leading zero first so 012 which could either be 01.2 or 012.0

however, to determine this, i need to know if they used left or right justification.

if i could figure that out, i will know where the decimal goes.