Forum Discussion
Formula to sum and exclude
As already suggested by amit_bhola, you need to provide more information for clarity.
Excluding and including zero should produce the same result. Also, you stated that you wanted to look up some customers from one sheet, and compare to another, I am wondering how this can be achieved by using SUMIF.
If you can share the file after removing the confidential information, that will be useful.
Cheers
Hi wumolad
Please see attached my excel spreadsheet. I use this to import COGS using this sheet. I basically don't want a large list of companies that have 0 amount, as this will be part of the journal entry to be imported. So if I am able to somehow exclude companies with a 0 amount, it will be much cleaner.
- amit_bholaAug 24, 2020Iron Contributor
MelStewart9655 , In attached file, i used your already made sheet as a temporary calculation, and out of it, filtered out only the non-zero companies as you desire. It gets filtered automatically. Only take care to drag down the formulas enough so that the formula region is more down below the data region.
- MelStewart9655Aug 24, 2020Copper Contributor
this is a great idea! thank you! amit_bhola
- wumoladAug 24, 2020Iron Contributor
I think you can still use the sheet. Just filter out those items with zero. Select all the items and then click on Data >>Filter. Then click on column K header to uncheck zero:
and click ok.
Then click on Ctrl + G, click on special and select visible cells only:
This allows you to copy only the copied items which you can then paste to another sheet.
I have attached a sample for you.
Hope this helps.
Cheers
- MelStewart9655Aug 24, 2020Copper Contributor
thank you for your advice! I appreciate it! wumolad
- wumoladAug 25, 2020Iron Contributor