+ Reply to Thread
Results 1 to 7 of 7

Look up and return data from a Description

  1. #1
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    480

    Look up and return data from a Description

    hello All

    Please see attahed

    Demand Tab
    Data is pasted into this tab; Colum A to N
    Variants can constantly change as the customer demand changes. SO there can be 100’s of part numbers can appears within this list and often are in no order, i have grouped them manueley

    I’d like a formula look at the data and report on the total demand from the Description ONLY for example look for each line with ESH and return column and sum that total in S16
    Expected outcome is highlighted in Blue
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,737

    Re: Look up and return data from a Description

    in S16

    =SUMPRODUCT((LEFT($C$3:$C$500,3)="ESH")*($C$3:$C$500<>""),($N$3:$N$500))

  3. #3
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    480

    Re: Look up and return data from a Description

    Thanks John.

    That works great, however I’ve over looked I have 3 types of caps.
    Could an additional lookup be also entered, Example in yellow attached
    In S13 look at column B see it’s a LHL(405) then look at Colum C and return Colum N as to you previous suggested Formula


    Paul
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,737

    Re: Look up and return data from a Description

    There is no automatic way of knowing the codes: for S16 how would Excl know to use "ESH" : column B has GRP and there is nothing in Q16 relating to either B or C.

  5. #5
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    480

    Re: Look up and return data from a Description

    your orginal formula works perfect for the itmes in green
    =SUMPRODUCT((LEFT($C$3:$C$500,3)="ESH")*($C$3:$C$500<>""),($N$3:$N$500))


    Using the items highlighted in yellow and orange as an examples,
    Both share the Description SHA, but are in fact different, Colum B shows the difference, one is LHL(405) and the other is N/L(405)
    Is there a way a formula could look up at N/L(405) Colum B then look at SHA Colum C and returns column N


    Paul
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,737

    Re: Look up and return data from a Description

    in S11

    =SUMPRODUCT((LEFT($C$3:$C$500,3)=MID($Q13,9,3))*($C$3:$C$500<>"")*(LEFT($B$3:$B$500,3)=MID($Q13,5,3)),($N$3:$N$500))

    copy down to S12

    BUT will not work for S16 or (many) others i suspect.

  7. #7
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    480

    Re: Look up and return data from a Description

    John, Thats Brilliant works PERFRCT

+ 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. Picture in description. Need Index, Match, Max to return SUMPRODUCT
    By Sl0vvP0ke in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-17-2017, 03:30 PM
  2. [SOLVED] Not return result if data is in a certain cell (Bad Description)
    By LeeBillington in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-03-2017, 05:19 AM
  3. [SOLVED] Return the first value / description of the cell under same column
    By cks1026 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-09-2017, 11:10 AM
  4. want a drop list to return a number not the description displayed
    By warrnamboolguy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-17-2017, 11:41 PM
  5. Macro to search a cell description and return a date
    By kevthomas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-16-2015, 12:25 PM
  6. [SOLVED] Looking up description and return data
    By JakeMann in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-25-2012, 10:57 AM
  7. Compare description to a set of keyword lists and return a 3 value
    By smschneid in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-11-2012, 03:28 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