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.
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.
How to install your new code
- Copy the Excel VBA code
- Select the workbook in which you want to store the Excel VBA code
- Press Alt+F11 to open the Visual Basic Editor
- Choose Insert > Module
- Edit > Paste the macro into the module that appeared
- Close the VBEditor
- Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)
Data RangePlease Login or Register to view this content.
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
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks