[COUNTIF/SPILL] Trying to find result that fills 2 conditions at once / SPILL results

[COUNTIF/SPILL] Trying to find result that fills 2 conditions at once / SPILL results

Hi!

I have the following formula from an imported Google Sheet

=countifs($B$2:$B; "<>0" ; $D$2:$D ; FALSE)*220

In the B column, I have a list of dates
In D column, I have a list of booleans (TRUE/FALSE checkboxes)

Opening this formula, we have:

Range 1 = $B$2:$B
Condition 1 = Must be different than zero

Range 2 = $D$2:$D
Condition 2 = The corresponding line from B (if <>0) must have a FALSE value.

The purpose of this biconditional is to give me an amount of dates when an event happened (B col) and if this respective date was paid (D col) and multiply by the cost of the event (220 Dollars) and see how much debt still exists.

In column B I have 23 dates
In column D I have 18 TRUE values
The formula should return this: 23 filled cells - 18 TRUE values = 5 filled cells with FALSE value * 220.


Google Sheets returns the correct result (5 * 220 = 1100)

However, in Zoho Sheets, this exact same formula returns the value of 215.820,00 instead of 1100,00. So I guess Zoho counts every empty cell as "" instead of 0. But I can't find anyway to refer these cells as "different from empty". I guess the problem is in the way to get "different from zero/empty".

The "<>0" issue:

I've tested all parts of the formula, and when counting values different from 0 always bring the problem in Zoho. So I tried to replace it for something else functional. However...

Replacing the "<>0" for <>"" returns #NAME error

Using "NOT(ISBLANK($B$2:$B))" returns a #SPILL

Tried to use a COUNT(NOT(ISBLANK($B$2:$B))) and this part only returns the number counting every cell in this range (65535). The full COUNTIF formula returns 0.

Can anyone give me a glimpse of how to solve this?

SPILL issue

Another doubt I have is that I'm not used to this kind of "query" in Zoho Sheets.
Sometimes using formulas with absolute references, the sheet return a query as result, filling all cells below with each match. However, I just want the counting, or just the matching value for a part of the formula, but it keeps dropping a ton of unwanted results.

I think the SPILL behavior is super useful in many situations, but I'm not used to having it as standard behavior.
Is there any workaround for this?




                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation
                                        • Sticky Posts

                                        • Check out the new Checkbox in Zoho Sheet

                                          Checkbox, the simple GUI widget that lets you choose between two mutually exclusive options i.e Yes or No, is now in Zoho Sheet. Having made it across the web, Checkbox is familiar but is still elusive to most spreadsheet software. Special developer ribbons, macros and all other complexities to add a checkbox to a spreadsheet? Not in Zoho Sheet. How to add Checkbox to Zoho Sheet? Adding a Checkbox in Zoho Sheet is simple. Select a cell/range and choose "Checkbox" in "Input Controls" under the Format
                                        • Format and analyze spreadsheet data with Zoho Sheet's Table

                                          While a spreadsheet helps you compile data for easy analysis, formatting helps make your data more comprehensible. We are happy to announce the release of Table, a crucial tool for improving data formatting in Zoho Sheet. More than a formatting tool,
                                        • Introducing Data Bars: Graphically represent changes in data within the cells

                                          Conditional formatting has helped millions of spreadsheet users analyze and highlight their data more efficiently. In addition to the classic rules, color scales, and icon sets available in Zoho Sheet, you can now apply Data Bars, a convenient method
                                        • Zia in Zoho Sheet now makes suggestions on conditional formats, picklists, and checkboxes

                                          Zia, Zoho's popular AI assistant, has been helping users succeed across Zoho applications since inception. In Zoho Sheet, Zia helps users efficiently build reports and analyze data with recommendations about data cleaning, charts, and pivot table. Also,
                                        • Revamped Print in Zoho Sheet—customized for paper

                                          The latest enhancements to Zoho Sheet's Print settings allows you to print a worksheet or a selected range, with customizations that make the data comprehensible, even on paper.   Customize header and footer Make your spreadsheets meaningful with a relevant header and footer. You can now choose to display the file name, sheet name, current page number, total pages, date, and time as the header and footer in your print view. Besides the predefined elements, you can also give a custom text for header/footer.


                                        Manage your brands on social media



                                              Zoho TeamInbox Resources

                                                Zoho DataPrep Resources



                                                  Zoho CRM Plus Resources

                                                    Zoho Books Resources


                                                      Zoho Subscriptions Resources

                                                        Zoho Projects Resources


                                                          Zoho Sprints Resources


                                                            Qntrl Resources


                                                              Zoho Creator Resources


                                                                Zoho WorkDrive Resources



                                                                  Zoho Campaigns Resources

                                                                    Zoho CRM Resources

                                                                    • CRM Community Learning Series

                                                                      CRM Community Learning Series


                                                                    • Tips

                                                                      Tips

                                                                    • Functions

                                                                      Functions

                                                                    • Meetups

                                                                      Meetups

                                                                    • Kbase

                                                                      Kbase

                                                                    • Resources

                                                                      Resources

                                                                    • Digest

                                                                      Digest

                                                                    • CRM Marketplace

                                                                      CRM Marketplace

                                                                    • MVP Corner

                                                                      MVP Corner

                                                                    





                                                                    




                                                                        Design. Discuss. Deliver.

                                                                        Create visually engaging stories with Zoho Show.

                                                                        Get Started Now