Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Add copied row as a child row

✭✭
edited 02/24/25 in Formulas and Functions

I have a row being copied via "Manage References" using INDEX MATCH from Sheet 1 to Sheet 2. If this row matches the project number and has a ".0" indicating added task to the same project, I want this row to be copied over as a child to the Parent row in Sheet 2. Currently it just lists it as a new row.

Below is the INDEX MATCH to sheet 2. I'm assuming it would be two formulas in one, but I couldn't make it work.

=INDEX({Data - Column2}, MATCH([Project ID]@row, {Data - Project ID}, 0))

Answers

  • ✭✭✭✭✭

    Hello @noshiro

    There is currently no built-in feature to automatically sort rows with a hierarchy. With this being said, when a new row comes you should manually move rows on the correct parent rows.

    You can also check this community thread that might be possible through API:

    Automatically Organizing Rows into Hierarchy

    Melissa Yamada
    melissa@insightfulsheets.com
    Data made simple, spreadsheets reimagined

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • I have a pretty basic sheet that I am using to develop a formula, and am encountering an issue I haven't seen before. The formula isn't including my second row for some reason. It isn't a huge issue f…
    User: "jjg279"
    Answered ✓
    9
    2
  • I'm sure that this is an easy fix but I've tried a bunch of different ways and can't get this to work. I need to get the max date from a sheet to feed it into my meta data sheet (dates are stored in d…
    User: "susanmgfin"
    Answered ✓
    8
    2
  • I need help to come up with the risk formula. I tried many different formulas and tried to modify it but just can't seem to have desired results. So these are the conditions I MUST meet: Program is a …
    User: "Ronak"
    Answered ✓
    29
    6