+ Reply to Thread
Results 1 to 4 of 4

How to create a conditional pattern of values.

  1. #1
    Registered User
    Join Date
    01-03-2016
    Location
    NORTH DAKOTA
    MS-Off Ver
    2013 AND 2007
    Posts
    2

    How to create a conditional pattern of values.

    I would like to create a rule in my spreadsheet that is similar to conditional formatting, but instead of filling a format, values are inputted. For example I would like to fill a cell with the value "AG" and the two cells to the right fill with the value "O". I am using excel 2013, and saw the lightning fill button. this may work, but I can't tell because every time I try and open it, my spreadsheet stops responding and I get a dialog box requesting to restart the program and recover the spreadsheet. Does anyone have a way of creating this rule? Thanks!

  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,929

    Re: How to create a conditional pattern of values.

    Hi, welcome to the forum

    You cannot use a formula to put stuff in other cells, formulas only affect the cell they are in.

    You could, however, put a formula IN those cells where you want the data to show
    If A1 contains your "switch", in B1 you could have =if(A1="switch","AG","")
    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
    Registered User
    Join Date
    01-03-2016
    Location
    NORTH DAKOTA
    MS-Off Ver
    2013 AND 2007
    Posts
    2

    Re: How to create a conditional pattern of values.

    I had thought about that, but the problem is I have formulas in another sheet in that workbook that are using the index/match combo to organize the data into another type of spreadsheet based on the values in those cells.

  4. #4
    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: How to create a conditional pattern of values.

    I saw a neat trick today from member Jonmo.

    1. Select CF
    2. Under New rule/use Formula, select the cell you want to have CF applied to
    3. Create the formula rule, something like =Q3=10
    4. Format Number/Custom "AG"

    Now, if Q3 = 10, the cell will show AG

+ 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. How do i create a Macro that would color certain cells based on a pattern?
    By BADebbie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-01-2015, 03:10 AM
  2. how to create a coloring pattern?
    By srsajjadi in forum Excel General
    Replies: 1
    Last Post: 02-27-2014, 07:04 AM
  3. Create new reference number based on pattern.
    By lohengrin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-16-2013, 03:04 PM
  4. Replies: 1
    Last Post: 04-04-2012, 11:07 AM
  5. Recognise change in pattern and create a space
    By bobbied in forum Excel General
    Replies: 4
    Last Post: 11-03-2010, 12:17 PM
  6. How can I create a work pattern?
    By gtbear in forum Excel General
    Replies: 11
    Last Post: 06-30-2009, 06:57 PM
  7. How to create a formula for a specific pattern
    By anita1999 in forum Excel General
    Replies: 1
    Last Post: 06-01-2005, 01:05 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