+ Reply to Thread
Results 1 to 5 of 5

sumif + vlookup maybe need to do a cross with hlookup

  1. #1
    Registered User
    Join Date
    06-28-2013
    Location
    San Jose, CA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Question sumif + vlookup maybe need to do a cross with hlookup

    Hello Excel Forum Community,
    I have searched through the forum threads and not seeing something that could help me with my current dilemma.

    I have one workbook that contains 2 worksheets and am using a formula on the first sheet to have it put a yes or no depending on the frosting selected. As you'll see the formula just checks for a number so in instances in which it has 74 it'll put a yes in both under 7 and 74. What do I need to fix here?

    For the cake portion I want to put a yes or no depending on the type of cake that it correlates with on the second sheet. The formula there is not working as I'm obviously missing a parameter but I am not sure how to structure.

    Any advice is greatly appreciated. I apologize if this has been answered by piecing multiple threads.

    Thanks,
    Liz
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: sumif + vlookup maybe need to do a cross with hlookup

    Hi, maybe use a simple "IF" instead of searching for the values in row 2? In Datasheet I6: =IF($D6=I$2,"Y","N")

  3. #3
    Registered User
    Join Date
    06-28-2013
    Location
    San Jose, CA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: sumif + vlookup maybe need to do a cross with hlookup

    Thank you for the simpler formula, however Excel is complaining that it is an "inconsistent formula".

    Do you have an idea possibly for what the formula could be for cells S7 through W7? A Y would be in both T7 and W7.

    Enjoy the weekend!

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: sumif + vlookup maybe need to do a cross with hlookup

    In H3
    =IF($D3=H$2,"Y","N")
    Copy down and across

    In S3
    =INDEX(Cake!D$3:D$11,MATCH(INDEX($H$1:$P$1,MATCH("Y",$H3:$P3,0)),Cake!$B$3:$B$11,0))
    Copy down and across

    Ensure 'calculation' is set to 'Automatic', currently its 'manual'
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Registered User
    Join Date
    06-28-2013
    Location
    San Jose, CA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: sumif + vlookup maybe need to do a cross with hlookup

    Thank you Ace_XL! That worked

+ 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