+ Reply to Thread
Results 1 to 4 of 4

Multi Conditional Sumproduct Vlookup

  1. #1
    Registered User
    Join Date
    09-28-2010
    Location
    Middle East
    MS-Off Ver
    Excel 2003
    Posts
    66

    Multi Conditional Sumproduct Vlookup

    Easy Question for a Genius!

    I would really appreciate some assistance if someone has a moment to look at the formula I have included in the description of the problem. Currently, I am generating a hash/value sign.

    Formula Outline
    Trying to calculate a cost based on array data, where cost=Function(conditionals in array, fibre distance in array, cable quantity in array, cable type in array, price of cable based on cable type) - note price array is different size to all other arrays.

    Syntax
    SUMPRODUCT(ISNUMBER(MATCH($D$9:$D$17,{"CO"},0))*ISNUMBER(MATCH($H$9:$H$17,{"C"},0))*ISNUMBER(MATCH($I$9:$I$17,{"Y"},0))*$AS$9:$AS$17*$EC$9:$EC$17*VLOOKUP($FT$9:$FT$17,$C$157:$C$167,H156,FALSE)*H42)

    where

    $AS$9:$AS$17 is the distance array
    $EC$9:$EC$17 is the cable quantity array
    $FT$9:$FT$17 is the VLOOKUP array for the cable type
    $C$157:$C$167 is the cable type match relating to the price schedule
    H156 refers to the offset from the cable type match in the price schedule so the vlookup draws on the right price in the appropriate year.

    Assistance appreciated.
    Thanks
    Last edited by David Brown; 10-09-2010 at 04:38 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Multi Conditional Sumproduct Vlookup

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Keep it simple

  3. #3
    Registered User
    Join Date
    09-28-2010
    Location
    Middle East
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: Multi Conditional Sumproduct Vlookup, Excel File Attached

    Easy Question for a Genius!

    Excel Dummy Data Attached - refer red cell H24. Use formula precedent to trace from red cells H24.

    Appreciate assistance. Currently, I am generating a hash/value sign.

    Formula Outline
    Cost=Function(conditionals in array, fibre distance in array, cable quantity in array, cable type in array, price of cable based on cable type)

    Note - the price schedule is part of the VLOOKIP but is not the same size as the other arrays, but it cannot be. But obviously this creates a problem.

    Assistance appreciated.
    Thanks
    Attached Files Attached Files

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Multi Conditional Sumproduct Vlookup

    FWIW this question has since been reposted: http://www.excelforum.com/excel-work...-attached.html

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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