08-21-2020 01:54 PM
08-21-2020 01:54 PM
I am trying to create a formula that will look up customer name and amount from one sheet and match it the customer name on a different sheet. I would like it to also not include customers that have a 0.00 amount.
This is what I have so far: =SUMIF('COGS Breakdown'!$A:$A,'Import Passportal SI'!G3,'COGS Breakdown'!$O:$O)
I just need the additional formula for to exclude values that are 0
08-22-2020 02:08 AM
@MelStewart9655 , it would be better if you attach a file with example data. Reading your question, it creates a doubt about intent and aim, since, you are trying to achieve a sum and want to exclude 0 (zeroes), so how the result of sum would get affected whether or not zeroes are included? Obviously, we're not able to understand the query, for which, an attachment with example data (and probably a typed, manually formulated result that you expect) would help!
08-22-2020 05:27 AM
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.
08-24-2020 08:48 AM
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.
08-24-2020 09:41 AM
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.
08-24-2020 11:01 AM
@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.