+ Reply to Thread
Results 1 to 4 of 4

IF or V-Look Up (Cant Work it Out) PLEASE HELP! THANK YOU

  1. #1
    Registered User
    Join Date
    11-11-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    1

    IF or V-Look Up (Cant Work it Out) PLEASE HELP! THANK YOU

    Book1.xlsx


    If there is an orange cell against the row then I need a formula to pick out the column heading and list it against the description in the row.

    Thank you in advance.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: IF or V-Look Up (Cant Work it Out) PLEASE HELP! THANK YOU

    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    Please Login or Register  to view this content.
    Data Range
    A
    B
    20
    Shoes
    21
    Tie
    22
    Shirt
    Black, Gold, Brown, Silver, Lilac, Maroon, Scarlet, Mint, Grey, Cream, Royal Blue, Shiny Silver, Dark Green
    23
    Bag
    Pastel, Grey, Cream, Royal Blue
    24
    Hat
    Violet, Royal Blue
    25
    Jumper
    Green, Pink, Green, Royal Blue, Hot pink
    26
    Scarf

    Data Range
    B
    20
    =GetSpec(A20,$A$2:$AH$12)
    21
    =GetSpec(A21,$A$2:$AH$12)
    22
    =GetSpec(A22,$A$2:$AH$12)
    23
    =GetSpec(A23,$A$2:$AH$12)
    24
    =GetSpec(A24,$A$2:$AH$12)
    25
    =GetSpec(A25,$A$2:$AH$12)
    26
    =GetSpec(A26,$A$2:$AH$12)


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: IF or V-Look Up (Cant Work it Out) PLEASE HELP! THANK YOU

    What causes those cells to change color?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: IF or V-Look Up (Cant Work it Out) PLEASE HELP! THANK YOU

    Quote Originally Posted by FDibbins View Post
    What causes those cells to change color?
    CF

    Myself also wanted to give formula solution but if the OP wants to return the concatenated values of matching results then we have to go for VBA. Since many matching cells found for one condition in OP's file

+ 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. populate a list on one work sheet from multiple work sheets that meet a criteria
    By Kelly Linton-Selkirk in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-21-2015, 03:56 PM
  2. [SOLVED] Macro Doesn't Work Through Button, Does Work Through Developer ->Macros Option
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-27-2013, 11:55 AM
  3. Macros stop to work when work sheet is protected. Run time error 1004
    By sellim in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2012, 01:14 AM
  4. Replies: 4
    Last Post: 11-04-2011, 12:37 PM
  5. Replies: 5
    Last Post: 06-24-2010, 06:21 AM
  6. Copy rows from work sheets to combine to one work sheet based on cell value
    By joemcmillen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2008, 05:04 PM
  7. Replies: 2
    Last Post: 07-11-2006, 11:15 PM

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