Forum Discussion

K Kumar's avatar
K Kumar
Copper Contributor
Oct 22, 2017
Solved

August 2017 updates for Get & Transform in Excel 2016 and the Power Query add-in

Hi,   I am attempting to create a new column where each element is a number, but that number is a value that I have recorded in a named cell/range in my workbook.   I have a cell named SCALAR tha...
  • SergeiBaklan's avatar
    Oct 22, 2017

    Hi,

     

    If SCALAR is the cell name in the same workbook when you shall use Excel.CurrentWorkbook

    let
        Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
        AddColumn = Table.AddColumn(Source, "Custom", each Excel.CurrentWorkbook(){[Name="SCALAR"]}[Content]{0}[Column1])
    in
        AddColumn

    See attached

     

Resources