Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Excel shopping list price comparison

  • Excel shopping list price comparison

    Posted by Gerben Greuliker on November 11, 2022 at 11:08 am

    Hi There,

    I’m working on a project to import Excel cell data into an animated shopping list.
    The idea is that you see a grocery receipt where you can see the price difference between identical products but bought at different stores.

    The first column contains the groceries, the second contains the price and there is a third column that contains the second price. The maximum number of comparisons per receipt is 7.

    I have to make several receipts and the input has to be animated line by line with a pause between every input (ie. excel_line_1: 1kg apples [pause] € 1,25 [pause] € 1,35).
    If it would be only one receipt I would build this without expressions but I have to make quite a lot…
    There are numerous excel-data import scripts available but nothing that works like this. Is there an easy way to import the csv-data and animate this?

    Greeting and Salutations

    Gerben

    Gerben Greuliker replied 3 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Tomas Bumbulevičius

    November 11, 2022 at 1:07 pm

    Hey Gerben, one of the ways to do it:
    1. You can animate one receipt and link all variables from .csv with expressions.
    2. To add to the first point, name the composition that it would have index like following: receipt-[index] So it would be receipt-0, receipt-1 etc.
    3. Link your expressions at the first point by grabbing data based on receipt index, like the following: thisComp.name.split(“-“).pop() It will get an index
    4. By duplicating composition in project panel, you should get updated lists.

    Some additional double checkings might be needed to hide fields when they are irrelevant though

  • Gerben Greuliker

    November 14, 2022 at 9:28 am

    Hi Tomas,

    I’ve found a way to build it almost as you suggested and works like a charm!

    Thnx!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy