+ Reply to Thread
Results 1 to 4 of 4

How to use > in WorksheetFunction.Sumifs

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    United Kingdom
    MS-Off Ver
    Office 2010
    Posts
    71

    How to use > in WorksheetFunction.Sumifs

    Hi - finally onto my last four lines of code so this should be my last question for a while

    How do I use > with dates in a sumif worksheet function? I have the code below but it throws up a 1004 error - . Offset value is a date, .value in the bottom line is a 6 digit number

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: How to use > in WorksheetFunction.Sumifs

    David

    The error might not actually be caused by using ">" or dates, it could be something else.

    For example this is wrong,
    Please Login or Register  to view this content.
    If you want to refer to column 11 on the worksheet PBR you would use this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    08-01-2012
    Location
    United Kingdom
    MS-Off Ver
    Office 2010
    Posts
    71

    Re: How to use > in WorksheetFunction.Sumifs

    Thanks - thats it. How come on everything else where I use ranges I have to say its a range of columns?

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: How to use > in WorksheetFunction.Sumifs

    Not sure what you mean, Range(Columns(..)) would be wrong wherever you used it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1