Forum Discussion

tom_gowen's avatar
tom_gowen
Copper Contributor
Mar 07, 2019

adding a record on sheet one and data mismatching on sheet two

I am creating a database with people being added and deleted often. Sheet one is the list of people. Sheet two thru four has data specific to that person and have their names referenced to the cell on sheet one. 

When i add a record to sheet one, the subsequent sheets end up with mismatched data. 

 

any ideas on the correct way to reference while updating the other sheets and maintaing the orginal data in the columns?

Sheets one and two originalSheets one and two with added record on first sheet. and reference function visiable

  • Twifoo's avatar
    Twifoo
    Silver Contributor
    Hello Tom,
    In NoCo!A2, enter the formula =ROW()-1, then copy it down. In Flu!A2, enter the formula =INDEX(NoCo!A:A,ROW()), copy to B2, and down the rows. Do the same for Pneumonia!A2 and TB!A2.
    • tom_gowen's avatar
      tom_gowen
      Copper Contributor

      thank you. that is incredibly helpful. it works better. i need only learn how to lock the rows across the table on the sheets 2 through the last sheet. i wish to sort from entering the new records on the first sheet.

      Thank you for taking your time to help!

      • Twifoo's avatar
        Twifoo
        Silver Contributor
        If you need to copy the same value down the rows, insert $ before row number.
        Conversely, to copy the same value across the columns, insert $ before the column letter.

Resources