Forum Discussion

CalJones's avatar
CalJones
Copper Contributor
Dec 05, 2020
Solved

Formula Help

Hello all,

I'm trying to see if there's a way to make this happen automatically in excel.

If I have a list several (including multiples) items and in another column I have the cost price, is there a way I could automatically calculate all of one item.
e.g.

Apples  2p

Bananas 12p

Apples 13p

Grapefruits 3p

Is there a way I could calculate this automatically?

Ie a lookup or if Apples, then sum of the next column?

Help me please!! Many thanks

Cal

  • CalJones 

    Thank you. We don't need your entire file, just what is on screenshot but as file.

    If I understood correctly you'd like to sum (OUT) by Item, perhaps by month/year as well. When PivotTable will be a right solution. As option SUMIFS(out column, item column, "Apples").

9 Replies

  • NikolinoDE's avatar
    NikolinoDE
    Platinum Contributor

    CalJones 

    Here is a small and simple example of how something like this could be done.

    It works like a small calculator, you just have to select the product via the dropdown menu and the number of the product ... everything else is automatic. As long as the correct individual price per product was set at the beginning.

     

    I would be happy to know if I could help.

    Nikolino

    I know I don't know anything (Socrates)

    * Kindly Mark and Vote this reply if it helps please, as it will be beneficial to more Community members reading here.

     

    I would be happy to know if I could help.

     

    Nikolino

    I know I don't know anything (Socrates)

     

    * Kindly Mark and Vote this reply if it helps please, as it will be beneficial to more Community members reading here.

      • NikolinoDE's avatar
        NikolinoDE
        Platinum Contributor
        Couldn't see the previous answer to understand better. For me the whole thing always hangs a bit, somehow I get the updates in the forum always delayed ... strange. Anyway it is how it is, do you carry on?
  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    CalJones 

    Cal, you can, but the question is how actually the price is defined. Is "2p" the text, or that's number formatted as 2p, and is that always "p" at the end of the price or that could be another notation. Better if you provide small sample file, with data as in your post, to illustrate formatting.

    • CalJones's avatar
      CalJones
      Copper Contributor

      SergeiBaklan 

      I can't show my data as it contains sensitive info.

      Please find attached a mock layout etc.

       

      • SergeiBaklan's avatar
        SergeiBaklan
        Diamond Contributor

        CalJones 

        Thank you. We don't need your entire file, just what is on screenshot but as file.

        If I understood correctly you'd like to sum (OUT) by Item, perhaps by month/year as well. When PivotTable will be a right solution. As option SUMIFS(out column, item column, "Apples").

Resources