Results 1 to 3 of 3

Thread: SUMIF (97:SR2)

  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SUMIF (97:SR2)

    I'm having an issue with SUMIF and dates. I can get the formula to work correctly if the date is an exact match but not if it is <= a certain date or between certain dates.

    I have attached a sample file.

    Thanks for your assistance,
    John

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: SUMIF (97:SR2)

    Instead of:
    <pre>=SUMIF(A2:A6,"<=A11",C2:C6)</pre>


    use:
    <pre>=SUMIF(A2:A6,"<="&A11,C2:C6)</pre>


    You are using the literal TEXT string and comparing to the TEXT "A11" not the CONTENTS of the Cell A11.

    Steve

  3. #3
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: SUMIF (97:SR2)

    That will do it.

    Thanks again.
    John

Posting Permissions

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