+ Reply to Thread
Results 1 to 5 of 5

Combination Sum / Vlookup / Min / If Formulas

Hybrid View

  1. #1
    Registered User
    Join Date
    04-09-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    3

    Combination Sum / Vlookup / Min / If Formulas

    Hi,

    I've searched the forums and I'm a relatively advanced user in my own way but I am being stumped by an issue.

    I have a list of film products for four separate territories, each territory with a a spreadsheet. There are release dates & sales against each title BUT the titles do not always exist in each sheet. Sometimes a title will exist in a spreadsheet but with a text value in both the release date & sales cell "NR" etc. I can incorporate IF & SUMIF functions for the sales - if the title has NR in each sheet it brings back NR, if any have sales then it adds them up etc. but I can not crack how to get the earliest release date. It's fine if the title exists in each sheet with a date against it but as soon as it is not in one it kills the VLOOKUP and if there as an NR instead of a date it kills the function as well.

    I've attached a dummy sheet and essentially need a master list which brings back the earliest date for a title from each column B and sums the sales for a title from each column c.

    Book2.xlsx

    Thanks a lot in advance for any help!

  2. #2
    Registered User
    Join Date
    04-09-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Combination Sum / Vlookup / Min / If Formulas

    Hi armprabhu - apologies for being daft but can't see an attachment. Thanks!

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Combination Sum / Vlookup / Min / If Formulas

    Pl see attached file with Macro.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 04-09-2014 at 09:36 AM.

  4. #4
    Registered User
    Join Date
    04-09-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Combination Sum / Vlookup / Min / If Formulas

    Thanks - i can see the formula you've added in but I can't make that work across multiple sheets. I.e. it's fine in one list but if you have the same title in 4 different lists - 3 of which have dates and one has "NR". I would need the formula to discount the one "NR" and bring the earliest of the other 3 dates back. There is no issue where they are all "NR" or all dates but it's the combination that breaks it for me.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Combination Sum / Vlookup / Min / If Formulas

    Pl See the attached file.I have slightly changed formula and macro.
    Macro pastes all data from each sheet (1 to 4) to "Consolidated" sheet.Then in that list min date without duplication is processed.
    Pl see
    GREEN ZONE has three different dates in each sheet & NR in sheet4.
    Consolidated list gives the lowest date from Sheet1.
    LAND OF THE LAST does not have any date.
    Attached Files Attached Files

+ 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. Replies: 1
    Last Post: 03-06-2014, 03:58 PM
  2. [SOLVED] Vlookup and If Combination
    By imerial in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-22-2014, 03:45 PM
  3. Combination of formulas
    By Steptwo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-15-2013, 12:24 PM
  4. Combination VLookUp
    By croeder in forum Excel General
    Replies: 1
    Last Post: 06-09-2011, 09:55 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