哪种Excel公式返回工作表名称? [英] What Excel formula returns the sheet name?

查看:195
本文介绍了哪种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.

是否有一种方法可以在Excel公式中获取工作表名称而无需诉诸VBA?

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屋!

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