+ Reply to Thread
Results 1 to 3 of 3

Using sumif and offset together

  1. #1
    Registered User
    Join Date
    07-07-2007
    Posts
    14

    Question Using sumif and offset together

    I am currently using "sumif" to add up numbers in columns based on if there is a certain word in each row. My formula is =SUMIF(A5:A1820,"Special",L5:L1820).

    I would like to be able to use this formula across all columns in the worksheet (from, L onwards), but autofill does not seem work properly for this, as A5:A1820 gets changed to a different column. I cannot get the offset function set up correctly. Does anyone know how I can set up the formula?

    Thanks for any help.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    You can autofill the formula if you use $ signs to "fix" the relevant column references: Try

    =SUMIF($A5:$A1820,"Special",L5:L1820)

  3. #3
    Registered User
    Join Date
    07-07-2007
    Posts
    14
    Thanks again daddylonglegs!

+ 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