Forum Discussion

DanJohansen's avatar
DanJohansen
New Member
4 years ago
Solved

Create new rows based on From and To values in two columns

Hi, I have a table which looks like this: Nr. Kontoart From Account To Account 100 Managementfee 10110 10113 110 Lejeindtægter 10121 10124 120 Øvrige indtægter 11210 11212 ...
  • BA_Pete's avatar
    4 years ago

    Hi DanJohansen ,

     

    Assuming your From/To columns are in numerical format, you can add a custom column like this:

     

    = {[From Account]..[To Account]}

     

    You can then expand the nested list column to new rows.

     

    If your original columns aren't numerical, then you'll need to wrap the column references in Number.From:

     

    = {Number.From([From Account])..Number.From([To Account])}

     

     

    Pete