Làm cách nào để lấy ký tự hàng hoặc cột của ô hiện tại trong Excel?
Bạn đã bao giờ cố gắng lấy ký tự hàng hoặc cột của ô hiện tại trong Excel như ảnh chụp màn hình dưới đây chưa? Ở đây, tôi giới thiệu một số công thức để nhanh chóng lấy ký tự hàng hoặc ký tự cột của ô hiện hoạt.
Nâng cao kỹ năng Excel của bạn với Kutools for Excel và trải nghiệm hiệu quả hơn bao giờ hết. Kutools for Excel cung cấp hơn 300 tính năng nâng cao để tăng năng suất và tiết kiệm thời gian. Bấm vào đây để có được tính năng bạn cần nhất...
None of those listed solve this. What I posted here does, regardless of it be "A" "AA" "AAA"
Note, Column() can be used to point to any number for a column, i.e. Column(13) returns "M", Column(53) returns "BA", Column(712) returns "AAJ" but be sure to update both mentioned instances.
This comment was minimized by the moderator on the site
To get any Column Letter:
=MID(ADDRESS(1,COLUMN()),2,LEN(ADDRESS(1,COLUMN()))-3)
ADDRESS(1,COLUMN()) returns $A$1, $AA$1, $XFD$1, etc. based on lookup position put into the () of column part of equation.
LEN counts characters
MID gathers characters at starting position and count length from there. Start at 2 to eliminate the initial $ and go total LEN - 3 to get rid of ending $1 as well as the starting $ because we shifted our start position.