Likes Likes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: SUMPRODUCT with today Int

  1. #1
    Board Regular
    Join Date
    Sep 2013
    Posts
    194
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default SUMPRODUCT with today Int

    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

  2. #2
    Board Regular
    Join Date
    Mar 2010
    Location
    Bradford, West Yorkshire, UK
    Posts
    2,391
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    1 Thread(s)

    Default 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
    I visit this site mainly to remember how little I know

  3. #3
    Board Regular
    Join Date
    Oct 2009
    Location
    Midlands, UK
    Posts
    5,546
    Post Thanks / Like
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)

    Default 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.

  4. #4
    Board Regular
    Join Date
    Sep 2013
    Posts
    194
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Help with SUMPRODUCT with today Int

    Quote Originally Posted by steve the fish View Post
    Something in Leads.csv!$AF1:$AF10000 is producing a value error when INT is applied to it. Probably some text.
    Now I feel stupid........

    Row 1 has a header.... GRRRRRR

    Thank you

  5. #5
    Board Regular
    Join Date
    Sep 2013
    Posts
    194
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Help with SUMPRODUCT with today Int

    Is there a better way of doing it cant seem to add the second condition

  6. #6
    Board Regular
    Join Date
    Oct 2009
    Location
    Midlands, UK
    Posts
    5,546
    Post Thanks / Like
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Help with SUMPRODUCT with today Int

    See if this works:

    =COUNTIFS(AF:AF,">="&TODAY(),AF:AF,"<"&TODAY()+1,L:L,"Internet/Google Phone")

  7. #7
    Board Regular
    Join Date
    Sep 2013
    Posts
    194
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Help with SUMPRODUCT with today Int

    Quote Originally Posted by steve the fish View Post
    See if this works:

    =COUNTIFS(AF:AF,">="&TODAY(),AF:AF,"<"&TODAY()+1,L:L,"Internet/Google Phone")
    yep it does cheers
    Last edited by magpie2000k; Feb 23rd, 2018 at 08:56 AM.

  8. #8
    Board Regular
    Join Date
    Sep 2013
    Posts
    194
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Help with SUMPRODUCT with today Int

    Quote Originally Posted by magpie2000k View Post
    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

  9. #9
    Board Regular
    Join Date
    Oct 2009
    Location
    Midlands, UK
    Posts
    5,546
    Post Thanks / Like
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Help with SUMPRODUCT with today Int

    Instead of the part that says TODAY()+1 you can say TODAY()+9/24

  10. #10
    Board Regular
    Join Date
    Sep 2013
    Posts
    194
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default 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

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •