count error in report

jakobt

Active Member
Joined
May 31, 2010
Messages
337
Having 2 reports. In both reports there is a textbox in footer with the formula: =count(*)

In the customer reports it counts all customers.

In product report it returns #Error.

What can be the source for this error.

(In detail section 7 product are listed with some stacked fields for each)
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Just in a general way if you used a actual field rather than an asterisk it might help in figuring out what's going on.
For instance, =Count([ProductID]) instead of =Count(*)
this would make it easier to first be specific about what you are counting, and secondly whether it is an available field to count or not. Generally, I would expect it to work if it is in your record source for the report. But not all reports have record sources, and it is possible to combine data from many sources in one report...
 
Upvote 0
Record source would be part of the report properties (so generally, with the report in design view you will view property information displaying the property dialog which normally is visible but might need to be made visible by find it in the view menu or right-clicking on the report and looking for an option that says properties).
 
Upvote 0

Forum statistics

Threads
1,214,409
Messages
6,119,339
Members
448,888
Latest member
Arle8907

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