简体   繁体   English

路径文件excel公式

[英]path file excel formula

I have a file with over 50 formulas based on path file(differents).我有一个包含 50 多个基于路径文件(不同)的公式的文件。

An example of file is c:\2017\03\report and next month it would be c:\2017\04\report .文件的一个示例是c:\2017\03\report ,下个月它将是c:\2017\04\report

I want to change let's say in cell A1 sheets1 to update it on every sheets.我想在单元格A1 sheets1中进行更改,以便在每张纸上更新它。

Aside for edit links, is there a way to do it?除了编辑链接,有没有办法做到这一点?

Given the fact that you do not want to edit links, one possible solution is to create a separate sub-directory:鉴于您不想编辑链接,一种可能的解决方案是创建一个单独的子目录:

C:\Current\

Each month copy the most recent file into the sub-directory.每个月将最新的文件复制到子目录中。 This will insure that any time you run the spreadsheet, it will pickup the most current data with no link edit at all.这将确保您在任何时候运行电子表格时,它都会获取最新的数据,而无需进行任何链接编辑。

(I had a client who used this approach because they viewed changing formulas as risky and moving a single file as easy) (我有一个客户使用这种方法,因为他们认为更改公式有风险,而移动单个文件很容易)

Does this worksheet function helps you?此工作表功能对您有帮助吗?

="C:\" & YEAR(TODAY()) & "\" & REPT("0",2 - LEN(MONTH(TODAY()))) & MONTH(TODAY())

Good luck祝你好运

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM