Results 1 to 5 of 5
  1. #1
    rudi7109 is offline Novice
    Windows XP Access 2016
    Join Date
    Oct 2017
    Posts
    5

    Condition format

    I have a list of numbers about 1000. want to Condition format in groups of 250 with a color. eg
    If field = 500 then green
    If field = 600 then red
    etc
    if I do it for each number (1000) I'll have 1000 condition formats is there a shorter way
    Thank you

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    use ranges : if val between 0 and 20 , blue

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    If you mean Conditional Formatting on the ribbon, they are applied in order, so your first test can be

    [FieldName] < 251

    the second < 501, etc.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    rudi7109 is offline Novice
    Windows XP Access 2016
    Join Date
    Oct 2017
    Posts
    5
    Its random numbers so I can not use the < or between. 10210, 10213, 1055, 1061 and then the groups are also random eg 1,2,3,8,600,700 in group 1 and 9,20,800,901 in group 2 etc. Is it possible to create 4 lists and link each list to a condition. Its easier to modify a list than conditions

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    You can format on the group number if that's in your data. You can create a list. I'd have one list with all values and a field for group, not 4 lists. If you created 4 lists you'd probably have to use a union query to pull them together anyway. Join that list to your actual data and you have your group number to format on.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 12-30-2016, 10:27 AM
  2. Replies: 0
    Last Post: 11-19-2014, 05:47 AM
  3. Replies: 3
    Last Post: 09-07-2013, 04:59 PM
  4. Replies: 4
    Last Post: 03-12-2013, 06:49 PM
  5. Condition based upon shot time format
    By hawkins in forum Access
    Replies: 3
    Last Post: 04-17-2012, 03:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums