PricingBlog

How can I add an item to the beginning of an Array?

  • jacobkofoed-1205155970011893760

    Jacob Kofoed

    1 year ago

    I see there's an Append formula, but no Prepend? I want to add the item to the beginning of the array. Is there something like that in the built-in formulas?
    1205155970322276402-CleanShot_2024-02-08_at_15.18.402x.png
  • erikbeus-1205156219933958144

    Erik Beuschau

    1 year ago

    You can use Concatenate 🙂
  • jacobkofoed-1205156512599777342

    Jacob Kofoed

    1 year ago

    But with Concatenate I have to wrap it in an Array, right? I was hoping there was something similar to Append. I will use Concatenate for now.
  • erikbeus-1205156847649038346

    Erik Beuschau

    1 year ago

    Yes, it must be wrapped right now
    👍1
  • erikbeus-1205157287824457818

    Erik Beuschau

    1 year ago

    You could also use Reverse+Append+Reverse 🔄 Or Reduce 😉
    🤓1