1

I am working on .xlsx using python & I am using openpyxl for the same.

I have the column name and row number. Can I find the value of that box from xlsx?

for example :

column - P   
row - 369

Can I find the value from Pth column & 369th row of xlsx ?

1 Answer 1

3

How about:

d = ws.cell(row = 4, column = 2)
print d.value

See the documentation.

Sign up to request clarification or add additional context in comments.

1 Comment

The documentation also mentions you can do ws.cell('P369').

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.