What formula or function can transfer a date from one cell to another?
Hi everybody
I'm looking for a formula to automatically transfer a value (i.e. date) from lower-level cells to a higher-level cell (please see exemplification below).
What formula (or function) can be used for the cells D2 and F2, or D3/F3 and C7/F7 respectively?
Many thanks in advance for any help.
Best Answer
-
Question, does Row 1 and Row 2 have the formula in them? Because Row 3 appears to be a child of Row 2, which in turn is a child of Row 1. So Row 2 would look at Row 3 to get its dates, then Row 1 would look at row 2. You can see from your format column that Row 3 is a child row. There can never be a 3rd level, without a 2nd level.
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate
Answers
-
For the earliest date, you want to put =MIN(CHILDREN()) in the Start date column of the parent rows, and for the latest date you want =MAX(CHILDREN()) in the End Date column of the parent rows.
Putting =MIN(CHILDREN()) in D3 will look at D4:D6 child rows and return 10/01/24. In D7 it will look at D8:D10 and return 09/01/24. Putting it in D2 will only look at D3 and D7 and return 09/01/24. Likewise with F column, but using =MAX(CHILDREN()).
-
Dear SharpC
Thanks a lot for your rapid answer. The formulas you mentioned are really helpful.
However, in some cases there is no second level (just first and third level). Unfortunately, in these cases the formulas don't work (see red frame).Is there anything I can do about it?
-
Question, does Row 1 and Row 2 have the formula in them? Because Row 3 appears to be a child of Row 2, which in turn is a child of Row 1. So Row 2 would look at Row 3 to get its dates, then Row 1 would look at row 2. You can see from your format column that Row 3 is a child row. There can never be a 3rd level, without a 2nd level.
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate
-
Thank you very much, Michelle. I could solve the problem!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!