Array formula for unique dates for specific names

amendoza19

New Member
Joined
Jul 12, 2019
Messages
14
Hello,

I am trying to count the number of unique dates between 1/1/2018 and 12/31/2019 for specific Well names. For example, Well Name (29-6 64N) has 5 rows of dates in which 4 of those are unique and the other is repeated. Is there a way to count how many dates are unique for each Well Name?

Well Name is in column B with 1039 rows
Dates are in column I with 1039 rows

keep in mind that I have a sheet without repeated Well Names so now im just trying to add how many times the names are repeated by using the dates as a reference

thank you
 
That should not be a problem refer to below:


Book1
ABCDE
1WellDate
229-6 64N7/12/201929-6 64N2
329-6 64N1/1/2018
429-6 64N7/13/2019
529-6 64N7/12/2019
629-6 64N6/1/2018
729-6 64N7/12/2019
829-6 64N7/13/2019
929-6 64N7/14/2019
1029-6 64N7/15/2019
1129-6 32N7/16/2019
1229-6 32N7/14/2019
1329-6 32N7/15/2019
1429-6 32N7/15/2019
1529-6 32N7/15/2019
1629-6 32N7/12/2019
1729-6 32N7/20/2019
1829-6 32N7/15/2019
1929-6 32N7/15/2019
Sheet2
Cell Formulas
RangeFormula
E2{=SUM(IF(FREQUENCY(IF(($A$2:$A$19=D2)*($B$2:$B$192019,1,1)),$B$2:$B$19),$B$2:$B$19),1))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
I must be doing something wrong because now it wont accept the formula<date(2019,1,1),'master '!j:j),1))

Im so sorry for all this trouble I really appreciate it :)</date(2019,1,1),'master>
 
Last edited:
Upvote 0
I must be doing something wrong because now it wont accept the formula<date(2019,1,1),'master '!j:j),1))

Im so sorry for all this trouble I really appreciate it :)</date(2019,1,1),'master>
=SUM(IF(FREQUENCY(IF(('Master expense sheet '!C:C=Summary!D2)*('Master expense sheet '!J:J<DATE(2019,1,1),'Master expense sheet '!J:J),'Master expense sheet '!J:J),1))
 
Upvote 0
Did you try recreating first the example above? see if that is working for you. If that works then we can work on applying it to your sheet.

Will get this through, no worries :)
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

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