+ Reply to Thread
Results 1 to 6 of 6

Conditional formatting question

  1. #1
    Registered User
    Join Date
    05-22-2014
    Posts
    15

    Conditional formatting question

    Hi,

    So we have a 3 part form with scan codes on them. One part goes out to the customer for them to sign and we receive it back the next day. Right now we manually go through and try to match what we received back vs. what we sent out.

    I think we could use conditional formatting to make this process go much quicker. All we would need is two columns. The first would contain all of the previous days data that we’ve sent out. The second column would be where we scan in the returned slips from the customers.

    My question is how do I get the conditional formatting to work in real time? Or a better way to phrase it, how do I get it to check the entire column for that value? I can only seem to get it to work if the cell next to it has the same data. I set it up to turn green if it matches and red if it doesn’t, but it only works if the cells are side by side. When we scan the returned slips they will be out of order which is why I need it to search the entire column for the value. Any ideas? Thanks!

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Conditional formatting question

    Assuming your first column is A and second column is B. And the data can be there in the range A2:A100, then select the range A2:A100 and make New Rule for conditional formatting using the formulas given below...

    For Green
    Please Login or Register  to view this content.
    For Red
    Please Login or Register  to view this content.
    Change the column and range reference as per your need.
    Hope this helps.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    05-22-2014
    Posts
    15

    Re: Conditional formatting question

    Hi Sktneer,

    Thank you for the reply. I may be doing something incorrectly because it's not working the way it should. Just to simplify the example in column A I put in some sample data, numbers 1 through 10 through cell A10. In column B I applied the formulas you kindly provided and then entered some data to see if it would respond correctly. Here are the issues I found:

    For some reason if the value doesn't exist, in this case I chose the number 11, it did not make the cell red.
    If the numbers did match it would highlight the cell next to the value in column A with red instead of highlighting the cell in column B with green.
    If the value happened to match and be in the same row the cells would turn white.

    Maybe I did a poor job of explaining what I need? Column A will be populated with data, column B's job is to search column A for the data and if it matches, no matter what row it's in, turn it green, if it doesn't, turn it red.

    To apply the conditional formatting I simply went to new rules and used the "use a forumla to determine which cells to format" section, is that correct? Thank you again for the help!
    Last edited by phmdt; 05-22-2014 at 03:29 PM.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Conditional formatting question

    As per your example, Assuming range A1:A10 has numbers from 1 to 10. Now select B1:B10 and make new rule using the below formulas

    For green
    Please Login or Register  to view this content.
    For red
    Please Login or Register  to view this content.
    Find the attached sheet to see if this is what you are trying to do and if its not, please upload a sample workbook with desired output.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-22-2014
    Posts
    15

    Re: Conditional formatting question

    Sktneer,

    The example you provided works perfectly. I adjusted the range to meet my needs. Thank you for the help.

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Conditional formatting question

    You're welcome. Thanks for the feedback.
    If that takes care of your question, please mark your thread as solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.
    Moreover you may also click on * (star) to Add Reputation to those who have put their time and efforts to help you in this forum. This is another way to say thanks to them.

+ 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. Conditional Formatting Question
    By nboris827 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-24-2012, 07:42 PM
  2. Question about Conditional Formatting
    By excelmaster5000 in forum Excel General
    Replies: 3
    Last Post: 02-20-2009, 08:18 PM
  3. Conditional Formatting Question
    By daredevil in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2007, 10:42 AM
  4. Another conditional formatting question
    By onions in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2005, 07:53 AM
  5. conditional formatting question
    By Deb in forum Excel General
    Replies: 0
    Last Post: 03-22-2005, 11:07 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