+ Reply to Thread
Results 1 to 8 of 8

Monster Conditional Formatting

  1. #1
    Registered User
    Join Date
    12-10-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    12

    Monster Conditional Formatting

    Hi,

    I have a table where the user enters a warehouse name (Sun, Moon, Earth, Mars), in either of 2 columns, and this should result in the table changing colors.

    The table is currently red, so depending on what the user enters it should go green in the right cells. The red is there to help the user know where to enter quantities, and after doing so it also turns green.

    This is all the possible entries and what the colors should be (until a number(s) is entered then all 4 cells will be green):

    Excel.JPG

    Any ideas on how to apply this in conditional formatting?

    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
    53,048

    Re: Monster Conditional Formatting

    Hi Deon, welkom aan die forum

    Waar omtrent in SA? PE old boy here, from Klerksdorp, now living in USA

    Im a bit confused about what goes into the "red" cells, and what that needs to be compared against?




    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    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
    Registered User
    Join Date
    12-10-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Monster Conditional Formatting

    Hi Ford,

    Klein wereld! Ek is van Heidelberg in Gauteng. Ons is weer woelig met die beurtkrag die kant, en ek hoor die water is ook amper in sy kannon in. Maar die son skyn darem. :o)

    I attached a document with dummy data, hope that makes it clearer.
    Attached Files Attached Files

  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
    53,048

    Re: Monster Conditional Formatting

    1. highlight the range you want to apply the conditional formatting to (B8:E8 in your case - Extend that for your whole range)
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =NOT(AND(B8="",OR(B$7=$F8,B$7=$G8)))

  5. #5
    Registered User
    Join Date
    12-10-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Monster Conditional Formatting

    Thank you for the reply, the formula doesn't quite do what I need, it colors all the cells as soon as the "Delivered To" and From" cells are entered:

    Excel 01.JPG

    But what I'd really like is if it did this:

    Excel 02.JPG

    Thanks!

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Monster Conditional Formatting

    Please try CF Formula at B2:E33

    =NOT((B$1=$G2)+(B$1=$F2))*(($G2<>"")+($F2<>""))+ISNUMBER(B2)
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-10-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Monster Conditional Formatting

    Kyk net hoe maklik... Thanks very much gents!

  8. #8
    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
    53,048

    Re: Monster Conditional Formatting

    It worked on your sample data. I started it in B8:E8

    See the attached
    Attached Files Attached Files

+ 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. Dynamically Build Report With Formatting
    By rockclimber510 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2012, 02:42 PM
  2. [SOLVED] Macro Monster
    By crissandraauree in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-03-2011, 03:49 PM
  3. Monster Formula Help on Late Fees
    By mcarr5 in forum Excel General
    Replies: 2
    Last Post: 03-06-2010, 09:13 AM
  4. excel monster
    By mzahmed in forum Excel General
    Replies: 3
    Last Post: 08-07-2009, 02:39 AM
  5. Excel 2007 : Monster Excel Database Help
    By frankyJ in forum Excel General
    Replies: 0
    Last Post: 04-27-2009, 08:45 PM
  6. Monster name list compare
    By NoahB in forum Excel General
    Replies: 9
    Last Post: 07-03-2007, 02:42 PM
  7. What can I do to reduce filesize on a MONSTER spreadsheet?
    By Bill-E-BoB in forum Excel General
    Replies: 7
    Last Post: 06-11-2007, 04:09 PM
  8. Monster Formula
    By RobertaS54 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-20-2006, 09:10 AM

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