如何将任务选择自动化为“使用Excel”一周议程?

发布于 2025-02-06 08:53:14 字数 3556 浏览 1 评论 0 原文

我有一张桌子,有两张纸。第一个 monthly_data_sheet 具有任务和截止日期。

    A       B       C       D       E       F        G       H    I            J 
10  TASKS   ...     ...     ...     ...     ...     ...     ...  START      DEADLINE
11  Task1   ...     ...     ...     ...     ...     ...     ...  6/6/2022   30/6/2022
12  Task2   ...     ...     ...     ...     ...     ...     ...  6/6/2022   30/6/2022
13  Task3   ...     ...     ...     ...     ...     ...     ...  6/6/2022   30/6/2022
14  Task4   ...     ...     ...     ...     ...     ...     ...  2/3/2022   30/3/2022
15  Task5   ...     ...     ...     ...     ...     ...     ...  1/3/2022   30/3/2022
16  Task6   ...     ...     ...     ...     ...     ...     ...  1/3/2022   30/3/2022
17  Task7   ...     ...     ...     ...     ...     ...     ...  1/3/2022   30/3/2022
18  Task8   ...     ...     ...     ...     ...     ...     ...  1/3/2022   30/3/2022

而且我还有另一个表格, weekly_data_sheet ,如果一周中的一天开始和截止日期,我想带上所有任务。 例如,第一个任务, task1 task2 task3 in a11 应该在表2,<代码> Weekly_data_sheet ,在C28,F28,I28,L28,O28,R28,T28中。

            C               F               I              L             O             R             T       
25      06/06/2022      07/06/2022      08/06/2022     09/06/2022    10/06/2022     11/06/2022    12/06/2022            
26       Monday          Tuesday         wedsday        Thursday       Friday        Saturday       Sunday                      
27        June            June            June            June          June           June          June
28        Task1           Task1           Task1           Task1         Task1          Task1         Task1
29        Task2           Task2           Task2           Task2         Task2          Task2         Task2                      
30        Task3           Task3           Task3           Task3         Task3          Task3         Task3                      
31                                                                                                                              
32                                                                                                                              
33                                                                                                                              
34                                                                                                                              
35         ...             ...             ...             ...            ...           ...           ...

第25行每周更改。

我尝试了以下规则:

C28 =FILTER(GanttChart!A:A;GanttChart!J:J=C25;"No results")

F28=FILTER(GanttChart!A:A;GanttChart!J:J=F25;"No results")

I28==FILTER(GanttChart!A:A;AND(GanttChart!I:I<=C25;GanttChart!J:J>=U25);"No results")

L28==FILTER(GanttChart!A:A;AND(C25>=GanttChart!J:J;GanttChart!K:K<=U25);"No results")

O28==FILTER(GanttChart!A:A;GanttChart!J:J=M25;"No results")

R28=FILTER(GanttChart!A:A;GanttChart!J:J=P25;"No results")

T28=FILTER(GanttChart!A:A;AND(GanttChart!I:I<=C25;GanttChart!J:J>=S25);"No results")

编辑:

表1在 ganttchart 中,第二个表在 plans-semana(2)

使用建议的答案: = filter('ganttchart'!a:a;(c $ 25&gt; ='ganttchart'!i:i:i)*(c $ 25&lt; ='ganttchart'! /代码>

在线文件的链接 它不起作用的人可以帮助我非常感谢

I have a table in excel with two sheets; the first monthly_data_sheet has the tasks and deadlines.

    A       B       C       D       E       F        G       H    I            J 
10  TASKS   ...     ...     ...     ...     ...     ...     ...  START      DEADLINE
11  Task1   ...     ...     ...     ...     ...     ...     ...  6/6/2022   30/6/2022
12  Task2   ...     ...     ...     ...     ...     ...     ...  6/6/2022   30/6/2022
13  Task3   ...     ...     ...     ...     ...     ...     ...  6/6/2022   30/6/2022
14  Task4   ...     ...     ...     ...     ...     ...     ...  2/3/2022   30/3/2022
15  Task5   ...     ...     ...     ...     ...     ...     ...  1/3/2022   30/3/2022
16  Task6   ...     ...     ...     ...     ...     ...     ...  1/3/2022   30/3/2022
17  Task7   ...     ...     ...     ...     ...     ...     ...  1/3/2022   30/3/2022
18  Task8   ...     ...     ...     ...     ...     ...     ...  1/3/2022   30/3/2022

and I have another table, the weekly_data_sheet which I want to bring all the tasks if the day of week is in the range of START and the DEADLINE.
For example, the first task, task1 and task2 and task3 in A11 should apear in the table 2, weekly_data_sheet, in C28 ,F28, I28, L28, O28, R28, T28.

            C               F               I              L             O             R             T       
25      06/06/2022      07/06/2022      08/06/2022     09/06/2022    10/06/2022     11/06/2022    12/06/2022            
26       Monday          Tuesday         wedsday        Thursday       Friday        Saturday       Sunday                      
27        June            June            June            June          June           June          June
28        Task1           Task1           Task1           Task1         Task1          Task1         Task1
29        Task2           Task2           Task2           Task2         Task2          Task2         Task2                      
30        Task3           Task3           Task3           Task3         Task3          Task3         Task3                      
31                                                                                                                              
32                                                                                                                              
33                                                                                                                              
34                                                                                                                              
35         ...             ...             ...             ...            ...           ...           ...

The line 25 changes every week.

I've tried the following rules:

C28 =FILTER(GanttChart!A:A;GanttChart!J:J=C25;"No results")

F28=FILTER(GanttChart!A:A;GanttChart!J:J=F25;"No results")

I28==FILTER(GanttChart!A:A;AND(GanttChart!I:I<=C25;GanttChart!J:J>=U25);"No results")

L28==FILTER(GanttChart!A:A;AND(C25>=GanttChart!J:J;GanttChart!K:K<=U25);"No results")

O28==FILTER(GanttChart!A:A;GanttChart!J:J=M25;"No results")

R28=FILTER(GanttChart!A:A;GanttChart!J:J=P25;"No results")

T28=FILTER(GanttChart!A:A;AND(GanttChart!I:I<=C25;GanttChart!J:J>=S25);"No results")

Edited:
https://1drv.ms/x/s!AtPc07fC4QqykKZ2YB9Hu1AoPOnGkw?e=6d35oY

The table 1 is in the GanttChart and the second table is in the Plan-Semana (2)

using the suggested answer :
=FILTER('GanttChart'!A:A;(C$25>='GanttChart'!I:I)*(C$25<='GanttChart'!J:J);'no results')

The link of the online file
It's not working some one can help-me thanks a lot guys

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

慕烟庭风 2025-02-13 08:53:15

尝试 filter()与日期比较类似的功能 -

=FILTER($A$2:$A$9,(C$12>=$I$2:$I$9)*(C$12<=$J$2:$J$9))

然后根据需要将公式拖动到正确。

Try FILTER() function with date comparison like-

=FILTER($A$2:$A$9,(C$12>=$I$2:$I$9)*(C$12<=$J$2:$J$9))

Then drag the formula to right as needed.

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文