Forum Discussion
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
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
- NikolinoDEPlatinum Contributor
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.
- SergeiBaklanDiamond Contributor
This data structure is some different from the screenshot.
- NikolinoDEPlatinum ContributorCouldn'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?
- SergeiBaklanDiamond Contributor
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.
- CalJonesCopper Contributor
I can't show my data as it contains sensitive info.
Please find attached a mock layout etc.
- SergeiBaklanDiamond Contributor
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").