Calculating Occurrences

deadringer

New Member
Joined
Sep 18, 2009
Messages
3
I want to calculate the occurrences of a value in one column, if a certain value is in a second and also a third column. I know how to do this is I am calculating the occurrences of TEXT:

=SUMPRODUCT(--(A:A="text"),--(B:B="text"),--(C:C="text"))

But how would I do this if 2 columns are text and the third one is a date (dd/mm/yyyy hh:mm)?
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Try

=SUMPRODUCT(--(A:A="text"),--(B:B="text"),--(C:C=DATEVALUE("29/10/1961 10:00"))
 
Upvote 0
Okay, I got your formula to work. It was the timestamp througing it off. Once the timestamp was removed, it worked perfectly.

However, I need this to calculate occurances regardless of the timestamp - and I'd like to not have to remove the timestamp.

Is ther a formula that will calculate the occurances regardless of timestamp?
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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