SUMPRODUCT with today Int

magpie2000k

Board Regular
Joined
Sep 13, 2013
Messages
196
Guys I have a spread sheet where in column AF I have dates.
Not all cells have dates as the column is the date the lead was passed to sales and not all are passed to sales. As such some cells in that column are blank.

However the ones that are not blank have a date in the dd/mm/yyyy hh:mm:ss format

I want to count them if they are today irrespective of time.

=SUMPRODUCT(--(INT(Leads.csv!$AF1:$AF10000)=TODAY()))

What have I done wong as returns #VALUE !

Yes I entered it as an array the formulat also needs to include where column L = Internet/Google Phone

Thanks in advance
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Re: Help with SUMPRODUCT with today Int

This formula works perfectly for me, unless I add a column of text into the array, if that is what you saying you are doing then that is the issue
 
Upvote 0
Re: Help with SUMPRODUCT with today Int

Something in Leads.csv!$AF1:$AF10000 is producing a value error when INT is applied to it. Probably some text.
 
Upvote 0
Re: Help with SUMPRODUCT with today Int

Is there a better way of doing it cant seem to add the second condition
 
Upvote 0
Re: Help with SUMPRODUCT with today Int

See if this works:

=COUNTIFS(AF:AF,">="&TODAY(),AF:AF,"<"&TODAY()+1,L:L,"Internet/Google Phone")
 
Upvote 0
Re: Help with SUMPRODUCT with today Int

yep it does cheers

Why do spread sheets always get more and more complex the more you build the more you want from it

=COUNTIFS(Leads.csv!$G:$G,">="&TODAY(),Leads.csv!$G:$G,"<"&TODAY()+1,Leads.csv!$AH:$AH,$B3,Leads.csv!$K:$K,"<>Admin",Leads.csv!$AB:$AB,"<>Existing",Leads.csv!$M:$M,"<>*Void*",Leads.csv!$L:$L,"<>Cold call")

The above is my current formula however I want to say only where the the hour in G (format of that cell is dd/mm/yyyy hh:mm:ss:) is before 9am

Hope this makes sense
 
Upvote 0
Re: Help with SUMPRODUCT with today Int

Instead of the part that says TODAY()+1 you can say TODAY()+9/24
 
Upvote 0
Re: Help with SUMPRODUCT with today Int

So that would give me before 9am what about afteer 9 but before 10 and so on.....

THANK you so much
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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