+ Reply to Thread
Results 1 to 8 of 8

Help, Index, Match, IF, Min formula across multiple sheets with changeable data in cells.

  1. #1
    Registered User
    Join Date
    09-15-2021
    Location
    New Zealand
    MS-Off Ver
    office 365
    Posts
    8

    Help, Index, Match, IF, Min formula across multiple sheets with changeable data in cells.

    Hello all,

    Hoping someone is able to help as i cannot work our how to do this.

    I am trying to return two things.

    1: minimum date range from cell f2 found in sheets C1 C2 C3 etc if text value from cell b2 in sheets c1 c2 and c3 match the text value found in sheet total inventory b2 and exclude count if text value does not match.

    2: return sum of values found in cell g2 from sheets C1 C2 C3 etc if text value from cell b2 in sheets c1 c2 c3 match the text value found in sheet total inventory b2 but exclude count if text vlue does not match.

    I have attached a sheet for viewing and assistance. any help is appreciated.
    Last edited by Mbokk; 09-16-2021 at 05:36 PM. Reason: Solved

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,824

    Re: Help, Index, Match, IF, Min formula across multiple sheets with changeable data in cel

    Not sure I fully understand, but let me try this. This solution uses some helper columns because it seems that the MINIFS formula doesn't work well with dynamic arrays. There's a helper column for each column you referred to - Item Description, Earliest Expiry Date, and Stock on hand. They are:

    For Expiry Date:
    Please Login or Register  to view this content.
    For item Description:
    Please Login or Register  to view this content.
    For Stock on hand:
    Please Login or Register  to view this content.
    For this example, the above formulas were put in these cells:
    Expiry Date - Cell Q2
    Item Description - Cell R2
    Stock on hand - Cell S2

    Then, in F2, try this:
    =MINIFS($Q$2#,$R$2#,[@[Item Description]])

    In G2:
    =SUMIFS($S$2#,$R$2#,[@[Item Description]])

    See attached:

  3. #3
    Registered User
    Join Date
    09-15-2021
    Location
    New Zealand
    MS-Off Ver
    office 365
    Posts
    8

    Re: Help, Index, Match, IF, Min formula across multiple sheets with changeable data in cel

    Many thanks,

    Seems to work with the current data thats in the sheet if I update the values.

    But does not seem to work if I add data to another sheet or new data on the total sheet.

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,824

    Re: Help, Index, Match, IF, Min formula across multiple sheets with changeable data in cel

    You just need to expand the formulas according. Let's say you added another sheet with Table136. The one helper column would be changed to:

    Please Login or Register  to view this content.
    and the other helper columns would be changed accordingly.

    It does work if you add data on the total sheet.

  5. #5
    Registered User
    Join Date
    09-15-2021
    Location
    New Zealand
    MS-Off Ver
    office 365
    Posts
    8

    Re: Help, Index, Match, IF, Min formula across multiple sheets with changeable data in cel

    I have tried to update the formula to reflect new data being added to the screen tab for instance but I cannot for some reason reference this in the original formula?

  6. #6
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,824

    Re: Help, Index, Match, IF, Min formula across multiple sheets with changeable data in cel

    That's Table139. did you reference that table and did you change the choose from {1,2,3} to {1,2,3,4}? Please attach the file and I can look at it.

  7. #7
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Help, Index, Match, IF, Min formula across multiple sheets with changeable data in cel

    FWIW, another alternative, which mirrors Gregb11's results:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    whilst you could say this approach is 'simpler' (i.e. single cell formula) there are some very notable limitations when compared to the LET approach - a) we're using Ranges rather than structured references, and b) presumption that sheet index positions (for inclusion) will be sequential (so can use 3d reference like C1:C3)
    the traditional approach for 3d calcs would be to use 2 blank tabs (start and end) which would act as bookends - such that every sheet in between was included in the calc

  8. #8
    Registered User
    Join Date
    09-15-2021
    Location
    New Zealand
    MS-Off Ver
    office 365
    Posts
    8

    Re: Help, Index, Match, IF, Min formula across multiple sheets with changeable data in cel

    Quote Originally Posted by Gregb11 View Post
    That's Table139. did you reference that table and did you change the choose from {1,2,3} to {1,2,3,4}? Please attach the file and I can look at it.
    Solved, Thanks for your assistance, I am not familiar with let formulas and therefore did not update the range.
    Last edited by Mbokk; 09-16-2021 at 05:36 PM.

+ 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] Index/Match formula across multiple sheets
    By Brian.Romer in forum Excel General
    Replies: 7
    Last Post: 11-30-2020, 02:11 PM
  2. [SOLVED] Need and INDEX MATCH formula for Multiple Sheets using a Tab name list
    By qwertyyy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-29-2019, 07:29 PM
  3. Combining data from multiple sheets using index match to find LAST entry
    By Peelah in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-28-2017, 07:01 AM
  4. Index Match formula across multiple sheets
    By dreamer001 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-15-2015, 11:33 PM
  5. Replies: 2
    Last Post: 05-27-2015, 12:45 AM
  6. [SOLVED] How use INDEX MATCH formula across multiple excel sheets in separate folders
    By no1freeman in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-11-2015, 04:22 AM
  7. [SOLVED] Vlookup/Index/Match on multiple sheets data
    By yabi0823 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-30-2014, 03:47 PM

Tags for this Thread

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