+ Reply to Thread
Results 1 to 8 of 8

Google Docs - Alternative to SUMIFS

  1. #1
    Registered User
    Join Date
    06-10-2013
    Location
    Warrington, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Google Docs - Alternative to SUMIFS

    Hi all, this is my first post, and I would be very grateful if anyone can help me solve this issue.

    I have set up a spreadsheet in Excel 2010 that is fully working, but I am looking to migrate to Google docs so I can have a live update on Ipad and PC.

    I am aware SUMIFS does not work on Google docs, and I think SUMPRODUCT is what I need to change it to, however I cannot get it to work.

    The formula I have in Excel is =SUMIFS(Income!$G:$G,Income!$B:$B,">=01/04/2013",Income!$B:$B,"<=30/4/2013") where G is the amount in £, and B is a specified date. I am essentially looking to total monthly income, and I will have a similar formula for expenditure on a different sheet.

    If anyone can shed some light on an alternative formula that is compatible with Google Docs, that would be brilliant.

    Thanks

    James

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Google Docs - Alternative to SUMIFS

    =SUMPRODUCT((Income!$B2:$B5000>=f1)*Income!$B2:$B5000<=e1)*(Income!$G2:$G5000))

    Perhaps something like this? F1=start date E1= End Date
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Google Docs - Alternative to SUMIFS

    @Fotis:

    missing bracket:

    =SUMPRODUCT((Income!$B2:$B5000>=f1)*(Income!$B2:$B5000<=e1)*(Income!$G2:$G5000))

    Pete

  4. #4
    Registered User
    Join Date
    06-10-2013
    Location
    Warrington, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Google Docs - Alternative to SUMIFS

    Thank you both for the help!

    The formula gives me £0.00 which would imply that it works, which is further than I got as I was getting #error or #value.

    I have dates in column B, and takings in column G, but the formula is still giving me £0.00.

    Using April as an example I have =SUMPRODUCT((Income!$B2:$B5000>=01/04/2013)*(Income!$B2:$B5000<=30/4/2013)*(Income!$G2:$G5000))

    In column B I have 15/04/2013 and in column G i have £15.00. Column B is formatted as a date.

    Is this something to do with Google having the day and month the other way round like the USA? I cant see any reason why this formula shouldn't return the £15.00.

    Thanks

    James

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Google Docs - Alternative to SUMIFS

    Thanks Pete!

    James i don't use google docs so i really don't know what happens...As an idea use cell reference for you dates as i suggested and see if something happens...

  6. #6
    Registered User
    Join Date
    06-10-2013
    Location
    Warrington, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Google Docs - Alternative to SUMIFS

    Thanks anyway Fotis, I have tried with cell reference too but Google docs seems not to like that also

    Thank you very much for your help anyway!

    James

  7. #7
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Google Docs - Alternative to SUMIFS

    if your dates are stored as dates (they ought to be right aligned in the cells) then perhaps

    =SUM(FILTER(Income!$G2:$G5000,Income!$B2:$B5000>=date(2013,4,1),Income!$B2:$B5000<=date(2013,4,30)))
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Google Docs - Alternative to SUMIFS

    See DDL's post #11 in this thread:

    http://www.excelforum.com/for-other-...-countifs.html

    That is about COUNTIFs, but if you add a term to sum, i.e. Income!$G2:$G5000, then you will get the equivalent to SUMIFs.

    Hope this helps.

    Pete

+ 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