+ Reply to Thread
Results 1 to 3 of 3

Conditional Format to Add List of Text Based Upon Cell Contents

  1. #1
    Registered User
    Join Date
    11-02-2015
    Location
    Dallas, TX
    MS-Off Ver
    2015
    Posts
    3

    Conditional Format to Add List of Text Based Upon Cell Contents

    We have projects in various states. Some of the states that we conduct business in have special building code requirements...
    I have a spreadsheet of the projects and a column listing which state they are in, for example TX.

    I'd like to list on a separate sheet, the codes required by that state. In each row, a separate code requirement. For example, on sheet-2 column-A, the codes for TX in rows 1-10; Column-B, the codes for HI in rows 1-10; Etc.

    Back on sheet-1, I'd like a column set up for special codes.
    If the "state" column lists TX, then the "special codes" column would list all of the corresponding codes for that state.

    Thanks in advance for your help.
    Mike

  2. #2
    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,946

    Re: Conditional Format to Add List of Text Based Upon Cell Contents

    Hi, welcome to the forum

    You can probably do this with a vlookup or INDEX/MATCH, but I would need to see a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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

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

    Re: Conditional Format to Add List of Text Based Upon Cell Contents

    Hmmm, the issue here is going from maybe 10 cells on sheet2 (TX in A2:A11) to just a single cell on Sheet1. Will that cell be very crowded? Maybe an option would be a dropdown menus which would show you all the TX codes. This would work if you're primarily working with an electronic copy but would not be useful for a printed copy.
    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

+ 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: 2
    Last Post: 07-28-2013, 03:28 PM
  2. Conditional Format ROW based on text in drop-down list
    By Kwillz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-19-2013, 12:08 AM
  3. [SOLVED] Can't Clear Cell Contents After Conditional Format
    By Speedy1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2012, 07:46 AM
  4. Macro that will clear contents of cell based on format of text in adjacent cell
    By judasdac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-12-2012, 01:56 AM
  5. Replies: 5
    Last Post: 05-03-2012, 06:06 PM
  6. Replies: 1
    Last Post: 10-23-2006, 11:19 AM
  7. Replies: 1
    Last Post: 05-23-2006, 10:10 AM
  8. Conditional Format based on contents of cell.
    By dave m in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-29-2005, 09:06 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