什么 Excel 公式返回工作表名称? [英] What Excel formula returns the sheet name?
本文介绍了什么 Excel 公式返回工作表名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经搜索了 excel 函数文档和一般 MSDN 搜索,但一直无法找到一种无需 VBA 即可返回工作表名称的方法.
I have searched the excel function documentation and general MSDN search but have been unable to find a way to return the sheet name without VBA.
有没有办法在不需要借助 VBA 的情况下在 Excel 公式中获取工作表名称?
Is there a way to get the sheet name in an excel formula without needing to resort to VBA?
推荐答案
用 excel 不太好,但我发现了这些 这里
Not very good with excel, but I found these here
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)
和 A1
可以是工作表中的任何非错误单元格.
对于工作表的完整路径和名称,请使用
and A1
can be any non-error cell in the sheet.
For the full path and name of the sheet, use
=CELL("filename",A1)
这篇关于什么 Excel 公式返回工作表名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文