Forum Discussion

PowerBeeEye's avatar
PowerBeeEye
Microsoft Employee
7 years ago
Solved

Edit cell based on position

How can I replace the value of a cell based on the row and column number (not column name) with a string?

  • Hi PowerBeeEye ,

    It is not supported to replace values based on position. If there is logic  in the data you want  to replace, you can try creating formulas using the function of IF, SWITCH etc. to implement it. Or you can post the sample data and the expected data. Then we can help you as soon as possible.

     

    Best Regards,

    Xue Ding

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

4 Replies

    • PowerBeeEye's avatar
      PowerBeeEye
      Microsoft Employee

      In the table below, I am trying to set the value of the cell at column 1 x row 2 to "Meat"

       

      ItemCost
      Bread2.5
      Milk3.0
      Sugar1.0

       

      I don't want to use the column name "Item" because that name could be different each time.

  • v-xuding-msft's avatar
    v-xuding-msft
    Community Support

    Hi PowerBeeEye ,

    It is not supported to replace values based on position. If there is logic  in the data you want  to replace, you can try creating formulas using the function of IF, SWITCH etc. to implement it. Or you can post the sample data and the expected data. Then we can help you as soon as possible.

     

    Best Regards,

    Xue Ding

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.