Cell Linking

edited 12/09/19 in Smartsheet Basics

Hi Everyone, Is there such a thing as an "if" statement then link cells?

If cell has check mark link these cells to a different sheet.


  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    The only way I am aware of is to write an IF statement in the "different sheet". Unfortunately that would require setting up a new range for each cell and writing the individualized IF statement for each one as well.


    =IF({Sheet 1 Checkbox Cell Range 1} = 1, {Sheet 1 Data Cell Range 1})


    For the Checkbox Cell Range 1 you would "Reference Another Sheet" and select the checkbox in that specific row.


    Data Cell Range 1 would be the data cell in the same row as the Checkbox.


    Because you are referencing another sheet you will have to rewrite the IF statement in the row below it, referencing the first sheet and selecting new ranges (Checkbox and Data for the next row down) for each row on the target sheet ("different sheet").


    The limitation with that is you can only have 100 unique sheet references per sheet. Since you already have 2 for each row, that would limit you to being able to pull data from only 50 cells.


    If you are using this on a small scale project, it may not be too terribly tedious, but it could be rather excruciating in larger projects.


    Hope this helps...

  • JeremiahHorstick
    JeremiahHorstick ✭✭✭✭✭✭
    edited 07/01/18

    Paul, can the values be set in a row on the linking sheet and referenced as variables in the IF statement? This would prevent having to write each IF statement individually. 


  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    Possibly. It would depend on exactly what you want and whether or not that type of format would work for your particular project.


    If you are able to provide some specifics and some screenshots, we might be able to help you out a little better.