Bracketing Issue

ozbeachbum

Board Regular
Joined
Jun 3, 2015
Messages
247
Office Version
  1. 2021
Platform
  1. Windows
Need to get a result TRUE, current result is FLASE
=COUNTA(F3:H6,">0",+COUNTA(L3:P6,">0"))=COUNTA(F3:H6)-COUNTIF(F3:H6,0)*5
I have tried numerous different bracketing but have not been able to find one that will result in TRUE.
250119 bracket issue ca-cif.xlsx
BCDEFGHIJKLMNOP
2Wed 01-Jan-25Wed 01-Jan-25Wed 01-Jan-25TEST 01-03NR
3NRNRNRNRTEST02-02
4Wed 01-Jan-25Wed 01-Jan-25Wed 01-Jan-25TEST 01-03NR
5Sat 00-Jan-00Sat 00-Jan-00Sat 00-Jan-000000
6Sat 00-Jan-00Sat 00-Jan-00Sat 00-Jan-000000
7
8In my actual workbook all entries are the result of formulae from another worksheet
9/=COUNTA(F3:H6,">0",+COUNTA(L3:P6,">0"))=COUNTA(F3:H6)-COUNTIF(F3:H6,0)*5Result:FALSE
10
11/=COUNTA(F3:H6,">0",04
12+COUNTA(L3:P6,">0"))06
1310
14=COUNTA(F3:H6)04
15-COUNTIF(F3:H6,0)02
1602
17*510
18Formula result Conditional Formatting in B2.Required Result:TRUE
19
20I have tried numerous different bracketing but have not been able to find one that will result in TRUE.
Template
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Can you explain in words, using your sample data, how you come up with these blue values?

1737277495898.png
 
Upvote 0
I was using ELVAULATE FORMULA to try and work out the issue.
That doesn't really answer my question. I assume the blue values are the intermediate values you want to produce to end up with the TRUE final answer?
If that is so, I want to know why you think the blue values should be those as I can't see why. I need to understand just what you are trying to do.
 
Upvote 0
OK here goes,
If for example the number of entries in the five [5] columns equals the number of entries in column "F" * five [5] then the result would be TRUE and indicate that all entries are correct.
On the other hand if the number of entries in the five [5] columns don't equal the number of entries in column "F" * five [5] then the result would be FALSE and indicate that there is a missing entry.
Trust this is more like you requested.
 
Upvote 0
Then based on your given layout & data , what about ..

25 01 19.xlsm
FGHIJKLMNOP
2Wed 01-Jan-25Wed 01-Jan-25Wed 01-Jan-25TEST 01-03NR
3NRNRNRNRTEST02-02
4Wed 01-Jan-25Wed 01-Jan-25Wed 01-Jan-25TEST 01-03NR
5Sat 00-Jan-00Sat 00-Jan-00Sat 00-Jan-0000
6Sat 00-Jan-00Sat 00-Jan-00Sat 00-Jan-0000
7
8
9Result:TRUE
ozbeachbum
Cell Formulas
RangeFormula
P9P9=COUNTA(F3:P6)=COUNTA(F3:F6)*5
 
Upvote 0
Hi Peter,
Thanks for your time and patience.
I should have indicated in my last post that when I said entries, I was referring to entries >ZERO, so I trust that this information makes more sense.
The formula you give does result in true, the issue I have is because the worksheet entries are the result of formulae referencing another workbook.
If for example the result in N4 was ZERO instead of TEST 01-03 it would indicate that an entry was missing from the referencing workbook because there is an entry in "F4" >ZERO, but would still result in TRUE, which is why in my original formula I was only counting results >ZERO and minusing the ZEROS.
All entries showing in rows Five [5] & Six [6] aren't visible in the worksheet, I have shown them to show the results in those cells.
 
Upvote 0
Then what about this?
Excel Formula:
=COUNTIF(F3:P6,"<>0")-COUNTBLANK(F3:P6)=COUNTIF(F3:F6,"<>0")*5
 
Upvote 0
Solution
Thanks one again Peter, works fine.
Apologies if I was a bit vague in the beginning and for the delay in this reply, my computer pick up a virus and have had a lot of trouble getting back online.
 
Upvote 0

Forum statistics

Threads
1,226,112
Messages
6,189,019
Members
453,520
Latest member
packrat68

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top