How to get 1st 2 character in cell of a column in excel

thanks
turbot_yuAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Amitkumar PSr. ConsultantCommented:
Use the following function

=LEFT(<CELL NO>,2)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
turbot_yuAuthor Commented:
seems not correct.
0
SiddharthRoutCommented:
It is not the cell number but the cell Address for example if you want to get 1st 2 character of cell A1 then the above formula will be

=LEFT(A1,2)

Sid
0
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

turbot_yuAuthor Commented:
I tried, it gives TRUE of FALSE
0
SiddharthRoutCommented:
May I see the excel while where you are trying?

Sid
0
turbot_yuAuthor Commented:
Tried, cannot upload
0
SiddharthRoutCommented:
You need to click the file upload button at the bottom of the below text box.

Also where exactly are you putting the formula and what exact formula are you using?

Sid
0
turbot_yuAuthor Commented:
ok this time
Book1.xlsx
0
SiddharthRoutCommented:
That is because you have entered the formula twice in the same cell :)

Select the cell and press F2, you will the two formulas, one below the other :)

If you want delete and type it again :)

Sid
0
Amitkumar PSr. ConsultantCommented:
turbot_yu,

reviewed your sheet, you have added the following

in D6,
=LEFT(C6, 3)
=LEFT(C6,2)

in D7,
=LEFT(C7, 3)
=LEFT(C7,2)

in D8,
=LEFT(C8, 3)
=LEFT(C8,2)

remove the 2ne line in each formula and then check.
0
turbot_yuAuthor Commented:
thx
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.