Arrayformula countuniqueifs to count unique dates based on user ID

D_Nelson

New Member
Joined
Nov 30, 2020
Messages
5
Office Version
  1. 2019
Platform
  1. Windows
Hey I am tracking when people post their food to a spreadsheet. But I am only looking to include unique dates.

As new posts are being added daily I went with an arrayformula to save the manual juggling.

The only problem is the countuniqueifs formula does not seem to work in an arrayformula.

My current formula is
=ARRAYFORMULA(countuniqueifs('Food Posts'!B2:B,'Food Posts'!A2:A,A2:A,'Food Posts'!B2:B,">="&B2:B,'Food Posts'!B2:B,"<="&B2:B+7))

And it works for the first row but nothing below defeating the purpose of the array.

The formula looks up the food posts by user and the date of posting and then pulls that into a separate sheet that creates a weekly count.

Any recommendations
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,223,967
Messages
6,175,664
Members
452,666
Latest member
AllexDee

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