+ Reply to Thread
Results 1 to 4 of 4

Formula for SUMIFS horizontal DOESNT WORK

  1. #1
    Forum Contributor
    Join Date
    03-16-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    135

    Post Formula for SUMIFS horizontal DOESNT WORK

    Hi All

    I have worksheet with a list of products on the side and I am looking for a formula that will be give me the YTD number between a set of period but in a horizontal form.

    I have attached an sample worksheet of what I am trying to do.

    In yellow are the periods I want return. e.g P1-P5 = 0.756 and between P6-P8 =0.451 for Apples.

    I have tried the following formula in green in cell M7: =SUMIFS('BRAND PHASING'!K12:V12,'BRAND PHASING'!K11:V11,">="&O6,'BRAND PHASING'!K11:V11,"<="&P6)

    between periods P1 and P5 it should return 0.7561 but it returns 1.15. which is wrong.

    Hopefully someone can help me!

    Thanks
    Attached Files Attached Files
    Last edited by vba1234; 11-04-2016 at 12:22 PM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Formula for SUMIFS horizontal DOESNT WORK

    Because operator doesn't work on text. If you convert your periods to just numbers, it should work.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    03-16-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    135

    Re: Formula for SUMIFS horizontal DOESNT WORK

    OMG I was going crazyy, Thank you a quick Reply.

    Thanks

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula for SUMIFS horizontal DOESNT WORK

    You still can do it with your original layout
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Or just this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 11-04-2016 at 01:08 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SUMIFS formula to work with Pivot Slicers
    By Sam1989 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-21-2015, 11:40 PM
  2. Formula doesnt work until the date
    By monkeytusmc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-31-2015, 02:49 AM
  3. [SOLVED] Sumifs Horizontal
    By anh03 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-12-2015, 01:49 AM
  4. [SOLVED] iferror formula for copying variables under certain conditions doesnt work
    By kronikjb in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2015, 02:48 AM
  5. [SOLVED] SUMIFS formula doesn't work. Can anyone help?
    By Bobz1983 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-28-2014, 11:17 PM
  6. [SOLVED] any Ideas Why this INDEX MATCH formula doesnt work ?
    By ecelaras in forum Excel General
    Replies: 13
    Last Post: 11-30-2012, 06:55 AM
  7. Formula doesnt work
    By Kevin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2005, 09:06 PM

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