+ Reply to Thread
Results 1 to 5 of 5

How do I return specific values from table with multiple entries

  1. #1
    Registered User
    Join Date
    09-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2010
    Posts
    12

    How do I return specific values from table with multiple entries

    Hi Guys,

    I'm struggling with another formula.

    I am trying to return a specific price value to a cell using a lookup but because there are multiple contractors and different costs attributed, I am a bit stuck.

    I have attached a sheet with the problem contained.

    Any help would be much appreciated

    Cheers

    BS
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: How do I return specific values from table with multiple entries

    In AP15, enter:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy down.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    09-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2010
    Posts
    12

    Re: How do I return specific values from table with multiple entries

    Brilliant thanks Olly

    Reputation added

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How do I return specific values from table with multiple entries

    In DATA, insert a new column A
    In A2 copied down
    =B2&D2
    You can hide this column

    In Subcontractor AP15

    =VLOOKUP($Q$8&S15,DATA!$A$2:$F$580,6,FALSE)
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Registered User
    Join Date
    06-21-2013
    Location
    Wiltshire, UK
    MS-Off Ver
    365 Version 2210 Build 16.0.15726.20070
    Posts
    72

    Re: How do I return specific values from table with multiple entries

    What you are looking to do is a multi criteria vlookup. you will find many suggestions on the web. however in your scenario you could make use of a different function: SUMIFS(). As there will only be one match for BOTH criteria SUMIFS() will be the correct value. So =SUMIFS(DATA!E:E,DATA!A:A,'SUBCONTACTOR PAYMENTS'!Q8,DATA!B:B,'SUBCONTACTOR PAYMENTS'!N15) would be the formula in your first cell AP15


    lol too slow typing
    Isskint, i get satisfaction out of helping others

+ 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: 4
    Last Post: 05-12-2014, 07:10 PM
  2. Replies: 12
    Last Post: 12-17-2013, 12:35 PM
  3. Replies: 5
    Last Post: 08-04-2013, 09:49 AM
  4. Replies: 6
    Last Post: 02-07-2012, 08:21 PM
  5. Replies: 2
    Last Post: 04-01-2011, 08:43 AM

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