+ Reply to Thread
Results 1 to 6 of 6

sum based between dates or week numbers with out effcting current formula (Advanced) ???

  1. #1
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    471

    sum based between dates or week numbers with out effcting current formula (Advanced) ???

    Hello All

    please see attahed

    In cell T7
    This currently looks at 2 dates and sums up anything between 2 dates. However I don’t want the sum to include the columns in red as they are normally hidden and must be ignored

    I would rather it use the week numbers. But either way it must ignore the hidden columns in red

    Paul
    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
    81,288

    Re: sum based between dates or week numbers with out effcting current formula (Advanced) ?

    I think you mean this (not advanced):

    =VLOOKUP($B7,'MFG 7 Weeks'!$P$1:$Y$1082,4,0)-SUMIFS($G7:$Q7,$G$6:$Q$6,">="&$T$6,$G$6:$Q$6,"<="&$U$6,$G$6:$Q$6,"<>")
    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
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    471

    Re: sum based between dates or week numbers with out effcting current formula (Advanced) ?

    its still including the red columns. the sum needs to look at G7 & I7 & K7 & M7 & O7 & Q7 only.

    i need it to ignore the red columns it should = 2682 when in looking at the above cells only

  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
    81,288

    Re: sum based between dates or week numbers with out effcting current formula (Advanced) ?

    Try this:

    =VLOOKUP($B7,'MFG 7 Weeks'!$P$1:$Y$1082,4,0)-SUMIFS($G7:$Q7,$G$6:$Q$6,">="&$T$6,$G$6:$Q$6,"<="&$U$6,$G$6:$Q$6,"<>0")

  5. #5
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    471

    Re: sum based between dates or week numbers with out effcting current formula (Advanced) ?

    thanks Ali... excell gives me a bad Head

    i just had to remove = so it was < (less than)

    works great now

  6. #6
    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
    81,288

    Re: sum based between dates or week numbers with out effcting current formula (Advanced) ?

    Good!

+ 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. sum based between dates. with out effcting current formula
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-14-2019, 06:30 AM
  2. [SOLVED] Highlighting Dates of Current Week
    By EdWoods in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2017, 11:58 PM
  3. [SOLVED] Set PivotTable Filter to Current Day, Current Week, Current Month, or Current Year
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2014, 08:31 AM
  4. [SOLVED] from date data counting how many dates fall in current week
    By KK1234 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-03-2013, 08:13 AM
  5. [SOLVED] Date Formula to Return Week Number in Current Month based on Reporting Period
    By jeversf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2013, 12:10 PM
  6. [SOLVED] How to find the dates of the current week
    By uvaidya in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-26-2012, 08:47 AM
  7. Replies: 4
    Last Post: 03-21-2011, 05:37 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