工作表功能中单元格,列和行的自引用 [英] Self-reference for cell, column and row in worksheet functions

查看:117
本文介绍了工作表功能中单元格,列和行的自引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Excel中的工作表函数中,您如何自行引用您所在的单元格,列或行?

In a worksheet function in Excel, how do you self-reference the cell, column or row you're in?

请注意,这对条件非常有用格式化。

Note that this is extremely useful for conditional formatting.

推荐答案

其中F13是您需要参考的单元格:

where F13 is the cell you need to reference:

=CELL("Row",F13)  yields 13; its row number

=CELL("Col",F13)  yields 6; its column number;  

=SUBSTITUTE(ADDRESS(1,COLUMN(F13)*1,4),"1","") yields F; its column letter

这篇关于工作表功能中单元格,列和行的自引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆