+ Reply to Thread
Results 1 to 18 of 18

Offset in Sumif or if

  1. #1
    Registered User
    Join Date
    07-12-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    18

    Offset in Sumif or if

    Hi again...

    Sorry if my mind doesn't understand "offset"
    i post my workbook if anyone can help me with the yellow cell(Sheets: "name" "out seller" "box") *(offset in SumIf)


    Thank you in advance.

    Cescko
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,920

    Re: Offset in Sumif or if

    Please manually add expected outcomes to the boxes shaded yellow and then reattach the workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-12-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    18

    Re: Offset in Sumif or if

    Re-attach the workbook

    "expected outcomes" in yellow cell
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,920

    Re: Offset in Sumif or if

    No, that's not what I meant.

    By 'expected outcomes', I meant the numbers that you expect the formula to return - what will the RESULTS in those yellow cells be?

    Excel 2016 (Windows) 32 bit
    B
    C
    D
    E
    F
    G
    3
    Box 01/08/2000
    4
    Warehouse
    100
    5
    01/08/2000
    9
    6
    expected outcomes
    <<< What is the expected answer???
    7
    8
    9
    10
    11
    12
    13
    14
    15
    Box Left
    91
    Sheet: Box

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: copy a function with 50 cell sequence

    in "Name"

    in C3

    =SUMIF(OFFSET(Daily!$B$1,MATCH(Name!$B3,Daily!$B$2:$B$1000,0)+2,7,23, 1),$C$2,OFFSET(Daily!$B$1,MATCH(Name!$B3,Daily!$B$2:$B$1000,0)+2,4,23, 1))/60*15

    in D3

    =SUMIF(OFFSET(Daily!$B$1,MATCH(Name!$B3,Daily!$B$2:$B$1000,0)+2,7,23, 1),$D$2,OFFSET(Daily!$B$1,MATCH(Name!$B3,Daily!$B$2:$B$1000,0)+2,4,23, 1))/60*15

    Copy both down

    I'll look at the others shortly.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Offset in Sumif or if

    in "Out Seller"

    in D3

    =IF(OFFSET(Daily!$B$1,MATCH($B3,Daily!$B$2:$B$1000,0)+28,0,1,1)=$C3, 80)

    in E3

    =IF(OFFSET(Daily!$B$1,MATCH($B3,Daily!$B$2:$B$1000,0)+28,0,1,1)=$C3,OFFSET(Daily!$B$1,MATCH($B3,Daily!$B$2:$B$1000,0)+28,1,1,1)*10)


    in "Box"

    in C5

    =OFFSET(Daily!$B$1,MATCH($B5,Daily!$B$2:$B$1000,0)+30,1,1,1)

    Don't understand formula (reason for) in B5

  7. #7
    Registered User
    Join Date
    07-12-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    18

    Re: Offset in Sumif or if

    sheet "Box" cell "B5" will give me which date on daily if i gift a box

  8. #8
    Registered User
    Join Date
    07-12-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    18

    Re: Offset in Sumif or if

    Thank you very much John!!!!!!



  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Offset in Sumif or if

    It test C36 in Daily which is BLANK (or ) numeric): I think the test should be on C32 (value corresponding to label "Box").

    To fill in dates in column B I assume you need to look at "Box" value and only get dates in "Daily" where "Box" value is > 0?

  10. #10
    Registered User
    Join Date
    07-12-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    18

    Re: Offset in Sumif or if

    yes is right, but i need the offset to copy it down because i will do for all the year, not just a month

  11. #11
    Registered User
    Join Date
    07-12-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    18

    Re: Offset in Sumif or if

    sorry my bad Wasn't c36 but C32

  12. #12
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Offset in Sumif or if

    In "BOX"

    in B5

    =IFERROR(INDEX(Daily!$B$1:$B$1000,INDEX(ROW($1:$1000),SMALL(IF((Daily!$B$1:$B$1000="box")*(Daily!$C$1:$C$1000<>0),ROW($B$1:$B$1000)-ROW($B$1)+1,""),ROWS($B$1:B1))-30)),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    in C5

    =INDEX(Daily!$C$2:$C$1000,MATCH(B5,Daily!$B$2:$B$1000,0)+30)

    Copy both down

  13. #13
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Offset in Sumif or if

    Correction ...

    in C5

    =IFERROR(INDEX(Daily!$C$2:$C$1000,MATCH($B5,Daily!$B$2:$B$1000,0)+30),"")

  14. #14
    Registered User
    Join Date
    07-12-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    18

    Re: Offset in Sumif or if

    i Don't have words!!!!

    too much for my ability

    Many compliments

    THANK YOU

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,920

    Re: Offset in Sumif or if

    Please consider clicking on the reputation star under one of John's posts - he has made a sterling effort on your behalf.

  16. #16
    Registered User
    Join Date
    07-12-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    18

    Re: Offset in Sumif or if

    just to make me understand, you refer in B Colon in daily, all the colon,

    but... if...

    i would like to use only 3 rows or 4 rows in the colon,
    is that possible?

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,920

    Re: Offset in Sumif or if

    Are you wanting more help with this? If so, I'll remove the solved tag.

  18. #18
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Offset in Sumif or if

    I don't understand the question regarding Column B: which formula are you referring to???

+ 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. [SOLVED] SUMIF: don't understand that purpose of the OFFSET inside SUMIF
    By Vitalite in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-30-2017, 03:13 AM
  2. sumif with match and offset
    By domhoenig in forum Excel General
    Replies: 1
    Last Post: 08-20-2014, 09:47 AM
  3. SUMIF with OFFSET
    By kak132 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-17-2014, 03:25 AM
  4. Offset + Sumif, #REF! when using range A:A
    By TylerB2 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-07-2014, 07:00 PM
  5. Sumif & Offset together
    By Dial1 in forum Excel General
    Replies: 3
    Last Post: 08-04-2010, 06:53 PM
  6. Using sumif and offset together
    By katie1343 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-11-2007, 12:32 PM
  7. Trying to use sumif and offset functions
    By hizzle in forum Excel General
    Replies: 5
    Last Post: 02-09-2006, 07:47 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