+ Reply to Thread
Results 1 to 6 of 6

Find exact number from a column and apply format e.g. 27, 52, 270, 527...the problem is..

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    Monterey Park, Ca
    MS-Off Ver
    Excel 2010
    Posts
    41

    Smile Find exact number from a column and apply format e.g. 27, 52, 270, 527...the problem is..

    Have a column of cells (521 rows), on the column each cell contains a group of number

    Example:
    27, 539, 484, 485, 506, 594, 523, 502, 505, 525, 541, 526, 527, 529, 542, 533
    28, 540, 493, 494, 506, 594, 523, 502, 509, 525, 541, 526, 527, 529, 542, 530
    28, 540, 493, 494, 506, 594, 523, 502, 509, 525, 541, 526, 527, 529, 542, 533

    Let's say I would like to apply a format to a row that contains the number "27", the problem is....everything got highlighted since each row contain the number 27 within a few numbers

    Example: 527, 276, 1278 etc etc

    But what i really need to apply the format to is the cell that contained the number 27, NOT 527 or 276.

    How do I do that, please help!!!

    Appreciate,
    Juno

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Find exact number from a column and apply format e.g. 27, 52, 270, 527...the problem

    Juno,

    Welcome to the forum!
    Give this conditional format formula a try. Change the column letter as necessary:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    09-20-2012
    Location
    Monterey Park, Ca
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Find exact number from a column and apply format e.g. 27, 52, 270, 527...the problem

    Thank you for your reply ^_^

    May I know where do i put this formula to? See attachment for sample file.
    Attached Files Attached Files

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Find exact number from a column and apply format e.g. 27, 52, 270, 527...the problem

    Juno,

    Attached is a modified version of your posted workbook.
    I selected all of column A (click on the A)
    Then I went to Conditional Formatting -> New Rule -> Use a formula.... -> entered the formula I provided above and set the format to fill Yellow.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-20-2012
    Location
    Monterey Park, Ca
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Find exact number from a column and apply format e.g. 27, 52, 270, 527...the problem

    Got it, thanks a lot... save me hours of searching the answer from the web.

    Juno

  6. #6
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Find exact number from a column and apply format e.g. 27, 52, 270, 527...the problem

    You're very welcome

    If that takes care of your need, please mark this thread as solved.
    How to mark a thread Solved
    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word "Title" you will see a dropdown with the words "No prefix"
    Change to "Solved"
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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