+ Reply to Thread
Results 1 to 9 of 9

Extract a single value from a list of values

  1. #1
    Forum Contributor
    Join Date
    11-25-2012
    Location
    Edmonton, Alberta
    MS-Off Ver
    2010
    Posts
    146

    Extract a single value from a list of values

    Currently I have
    Please Login or Register  to view this content.
    and it works, but I copy it down over 35 cells, G8 to G42. I get the correct answer but I need to extract the value into a single cell lets say AC42 so I can use that value on other sheets to tell which piece of equipment is being utilized.
    Thanks in Advance

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extract a single value from a list of values

    Just FYI: Since you have Excel 2010, your existing formula can be shortened using IFERROR.

    =IFERROR(INDEX(Inventory!$F$32:$F$37,MATCH(G8,Inventory!$F$32:$F$37,0))),"")

    This can be shortened further to this:

    =IF(COUNTIF(Inventory!$F$32:$F$37,G8),G8,"")

    That being said, I do not understand what it is that you are looking to do. Which value do you want to extract to AC42? Is there only one output of the formula that isn't blank?

  3. #3
    Forum Contributor
    Join Date
    11-25-2012
    Location
    Edmonton, Alberta
    MS-Off Ver
    2010
    Posts
    146

    Re: Extract a single value from a list of values

    Ok, give me a minute, I just wrote out the explanation and then hit the wrong button and lost it.

  4. #4
    Forum Contributor
    Join Date
    11-25-2012
    Location
    Edmonton, Alberta
    MS-Off Ver
    2010
    Posts
    146

    Re: Extract a single value from a list of values

    Column G (G8:G42) has inventory items by Serial Number. I am looking to find a specific serial number from Inventory F32:F37 in the G8:G42 list.
    ex. serial numbers on inventory page are 1, 2, 3, 4, 5, 6. In Cell G24 there is the serial number 3. I have my formulas in Column AB1:AB35. so in this case the output of 3 resides in AB13. How do I get it to give me that single serial number no mater where it is output in AB1:AB35? I would like for example for that value (3) to be out put to a single cell, AC1 so i can extract it to other areas of the workbook.
    Hope this helps.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extract a single value from a list of values

    I am having a hard time picturing the layout of your workbook. Can you upload an example of your data along with the desired end-result (manually entered) of the formula?

  6. #6
    Forum Contributor
    Join Date
    11-25-2012
    Location
    Edmonton, Alberta
    MS-Off Ver
    2010
    Posts
    146

    Re: Extract a single value from a list of values

    ok here is the attachment. Note AC1 is were i would like the output, i just manually typed it in.
    Attached Files Attached Files

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extract a single value from a list of values

    Try this in AC1

    =LOOKUP(2,1/(AB:AB<>""),AB:AB)

    Just keep in mind that you're playing with fire referring to merged cells in formulas.

  8. #8
    Forum Contributor
    Join Date
    11-25-2012
    Location
    Edmonton, Alberta
    MS-Off Ver
    2010
    Posts
    146

    Re: Extract a single value from a list of values

    Works Perfectly!, Thanks!

  9. #9
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extract a single value from a list of values

    You're welcome. Happy to help.

+ 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: 01-04-2017, 07:29 PM
  2. [SOLVED] Formula to Extract a Single Instance from a List of Multiple Items
    By andrewc in forum Excel General
    Replies: 3
    Last Post: 11-24-2014, 12:14 PM
  3. Replies: 1
    Last Post: 11-09-2014, 06:04 PM
  4. Formula to extract a list from an existing list ignoring 0 values
    By weso2k in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-16-2014, 10:18 AM
  5. [SOLVED] Extract a few values from several .csv-files and bundle them in a single output-file
    By Jeroen606 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2013, 01:05 AM
  6. Replies: 7
    Last Post: 03-29-2012, 01:25 PM
  7. Extract one numerical value from single cell with multiple values?
    By cszy67 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-26-2005, 09:49 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