+ Reply to Thread
Results 1 to 13 of 13

Automatic change color of searched value in a column...

Hybrid View

  1. #1
    Bob Phillips
    Guest

    Re: Automatic change color of searched value in a column...

    That is a conditional function formula, so it will highlight all matching
    items. You asked to colour cell, not select.


    --
    HTH

    Bob Phillips

    "MS Excel" <obaid@geo-logistics.com.pk> wrote in message
    news:OkEeffVgFHA.3540@TK2MSFTNGP14.phx.gbl...
    > Greate!!
    > But how make it to select only first occurence..
    >
    >
    >
    > "Bob Phillips" <phillips@tiscali.co.uk> wrote in message
    > news:eL2nIAVgFHA.460@TK2MSFTNGP09.phx.gbl...
    > > Use formulae of
    > >
    > > =ISNUMBER(MATCH(B1,C:C,0))
    > >
    > > and
    > >
    > > =ISNUMBER(MATCH(C1,B:B,0))
    > >
    > > --
    > > HTH
    > >
    > > Bob Phillips
    > >
    > > "MS Excel" <obaid@geo-logistics.com.pk> wrote in message
    > > news:uqhoUiUgFHA.2152@TK2MSFTNGP14.phx.gbl...
    > >> THANKS FOR YOUR HELP..
    > >>
    > >> One more thing, how to automatically change color of item which have

    same
    > >> value in different column... like in below data data in B1 is equal to

    C3
    > >> and B4 is equal to C1.
    > >> Simply the proposed solution should match a column with another column
    > >> and
    > >> change color of matched cells.
    > >>
    > >> Column COLUMN
    > >> B C
    > >> 1) 235.66 552.05
    > >> 2) 154.60 623.00
    > >> 3) 239.05 235.66
    > >> 4) 522.05 154.60
    > >>
    > >> Hope I am clear..
    > >>
    > >>
    > >> "Ragdyer" <RagDyer@cutoutmsn.com> wrote in message
    > >> news:ORuSMQMgFHA.2268@TK2MSFTNGP15.phx.gbl...
    > >> > To highlight *only* the first occurrence of the cell that matches the

    > > data
    > >> > in A1,
    > >> > Select Column B, from B1 to whatever, with the focus of the selection
    > >> > in
    > >> > B1
    > >> > (colored white), then:
    > >> > <Format> <Conditional Format>,
    > >> > Change "Cell Value Is" to "Formula Is",
    > >> > And enter this in the next box:
    > >> >
    > >> > =AND(COUNTIF($B$1:B1,$A$1)=1,$A$1=B1)
    > >> >
    > >> > Click on "Format" and choose whatever format you wish,
    > >> > Then <OK> <OK>
    > >> >
    > >> > To highlight only the first *2 matches*, enter this formula:
    > >> >
    > >> > =AND(OR(COUNTIF($B$1:B1,$A$1)=1,COUNTIF($B$1:B1,$A$1)=2),$A$1=B1)
    > >> >
    > >> > --
    > >> > HTH,
    > >> >
    > >> > RD
    > >> >
    > >>

    >
    >> -------------------------------------------------------------------------

    -
    > > -
    > >> > Please keep all correspondence within the NewsGroup, so all may

    benefit
    > > !
    > >>

    >
    >> -------------------------------------------------------------------------

    -
    > > -
    > >> > "MS Excel" <obaid@geo-logistics.com.pk> wrote in message
    > >> > news:u6pjH3HgFHA.2548@TK2MSFTNGP10.phx.gbl...
    > >> >> Per below list, i want to change colour of a cell whose value

    matches
    > >> >> with
    > >> >> CELL A1 contents. For example:
    > >> >>
    > >> >> A1 = 239.05
    > >> >> Column B
    > >> >> 1) 235.66
    > >> >> 2) 154.60
    > >> >> 3) 239.05
    > >> >> 4) 522.05
    > >> >>
    > >> >> As I enter 239.05 in cell A1 it automatically change colour of CELL

    B3
    > >> >> (that's equal to 239.05). Any possibility?
    > >> >> Be noted that it should seach for the first occurence only.. also

    what
    > >> >> amendment can enable the proposed solution to search for all first &

    > > next
    > >> >> occurence ?
    > >> >>
    > >> >>
    > >> >> Regards,
    > >> >> Syed
    > >> >>
    > >> >>
    > >> >
    > >>
    > >>
    > >>

    > >
    > >

    >
    >




  2. #2
    MS Excel
    Guest

    Re: Automatic change color of searched value in a column...

    Ooopps...I mean to say color rather select..

    Syed

    "Bob Phillips" <phillips@tiscali.co.uk> wrote in message
    news:uajVPeYgFHA.2472@TK2MSFTNGP15.phx.gbl...
    > That is a conditional function formula, so it will highlight all matching
    > items. You asked to colour cell, not select.
    >
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > "MS Excel" <obaid@geo-logistics.com.pk> wrote in message
    > news:OkEeffVgFHA.3540@TK2MSFTNGP14.phx.gbl...
    >> Greate!!
    >> But how make it to select only first occurence..
    >>
    >>
    >>
    >> "Bob Phillips" <phillips@tiscali.co.uk> wrote in message
    >> news:eL2nIAVgFHA.460@TK2MSFTNGP09.phx.gbl...
    >> > Use formulae of
    >> >
    >> > =ISNUMBER(MATCH(B1,C:C,0))
    >> >
    >> > and
    >> >
    >> > =ISNUMBER(MATCH(C1,B:B,0))
    >> >
    >> > --
    >> > HTH
    >> >
    >> > Bob Phillips
    >> >
    >> > "MS Excel" <obaid@geo-logistics.com.pk> wrote in message
    >> > news:uqhoUiUgFHA.2152@TK2MSFTNGP14.phx.gbl...
    >> >> THANKS FOR YOUR HELP..
    >> >>
    >> >> One more thing, how to automatically change color of item which have

    > same
    >> >> value in different column... like in below data data in B1 is equal to

    > C3
    >> >> and B4 is equal to C1.
    >> >> Simply the proposed solution should match a column with another column
    >> >> and
    >> >> change color of matched cells.
    >> >>
    >> >> Column COLUMN
    >> >> B C
    >> >> 1) 235.66 552.05
    >> >> 2) 154.60 623.00
    >> >> 3) 239.05 235.66
    >> >> 4) 522.05 154.60
    >> >>
    >> >> Hope I am clear..
    >> >>
    >> >>
    >> >> "Ragdyer" <RagDyer@cutoutmsn.com> wrote in message
    >> >> news:ORuSMQMgFHA.2268@TK2MSFTNGP15.phx.gbl...
    >> >> > To highlight *only* the first occurrence of the cell that matches
    >> >> > the
    >> > data
    >> >> > in A1,
    >> >> > Select Column B, from B1 to whatever, with the focus of the
    >> >> > selection
    >> >> > in
    >> >> > B1
    >> >> > (colored white), then:
    >> >> > <Format> <Conditional Format>,
    >> >> > Change "Cell Value Is" to "Formula Is",
    >> >> > And enter this in the next box:
    >> >> >
    >> >> > =AND(COUNTIF($B$1:B1,$A$1)=1,$A$1=B1)
    >> >> >
    >> >> > Click on "Format" and choose whatever format you wish,
    >> >> > Then <OK> <OK>
    >> >> >
    >> >> > To highlight only the first *2 matches*, enter this formula:
    >> >> >
    >> >> > =AND(OR(COUNTIF($B$1:B1,$A$1)=1,COUNTIF($B$1:B1,$A$1)=2),$A$1=B1)
    >> >> >
    >> >> > --
    >> >> > HTH,
    >> >> >
    >> >> > RD
    >> >> >
    >> >>

    >>
    >>> -------------------------------------------------------------------------

    > -
    >> > -
    >> >> > Please keep all correspondence within the NewsGroup, so all may

    > benefit
    >> > !
    >> >>

    >>
    >>> -------------------------------------------------------------------------

    > -
    >> > -
    >> >> > "MS Excel" <obaid@geo-logistics.com.pk> wrote in message
    >> >> > news:u6pjH3HgFHA.2548@TK2MSFTNGP10.phx.gbl...
    >> >> >> Per below list, i want to change colour of a cell whose value

    > matches
    >> >> >> with
    >> >> >> CELL A1 contents. For example:
    >> >> >>
    >> >> >> A1 = 239.05
    >> >> >> Column B
    >> >> >> 1) 235.66
    >> >> >> 2) 154.60
    >> >> >> 3) 239.05
    >> >> >> 4) 522.05
    >> >> >>
    >> >> >> As I enter 239.05 in cell A1 it automatically change colour of CELL

    > B3
    >> >> >> (that's equal to 239.05). Any possibility?
    >> >> >> Be noted that it should seach for the first occurence only.. also

    > what
    >> >> >> amendment can enable the proposed solution to search for all first
    >> >> >> &
    >> > next
    >> >> >> occurence ?
    >> >> >>
    >> >> >>
    >> >> >> Regards,
    >> >> >> Syed
    >> >> >>
    >> >> >>
    >> >> >
    >> >>
    >> >>
    >> >>
    >> >
    >> >

    >>
    >>

    >
    >




  3. #3
    Bob Phillips
    Guest

    Re: Automatic change color of searched value in a column...

    As I said, this formula will colour all such occurrences.

    --
    HTH

    Bob Phillips

    "MS Excel" <obaid@geo-logistics.com.pk> wrote in message
    news:e5u6VTegFHA.3448@TK2MSFTNGP12.phx.gbl...
    > Ooopps...I mean to say color rather select..
    >
    > Syed
    >
    > "Bob Phillips" <phillips@tiscali.co.uk> wrote in message
    > news:uajVPeYgFHA.2472@TK2MSFTNGP15.phx.gbl...
    > > That is a conditional function formula, so it will highlight all

    matching
    > > items. You asked to colour cell, not select.
    > >
    > >
    > > --
    > > HTH
    > >
    > > Bob Phillips
    > >
    > > "MS Excel" <obaid@geo-logistics.com.pk> wrote in message
    > > news:OkEeffVgFHA.3540@TK2MSFTNGP14.phx.gbl...
    > >> Greate!!
    > >> But how make it to select only first occurence..
    > >>
    > >>
    > >>
    > >> "Bob Phillips" <phillips@tiscali.co.uk> wrote in message
    > >> news:eL2nIAVgFHA.460@TK2MSFTNGP09.phx.gbl...
    > >> > Use formulae of
    > >> >
    > >> > =ISNUMBER(MATCH(B1,C:C,0))
    > >> >
    > >> > and
    > >> >
    > >> > =ISNUMBER(MATCH(C1,B:B,0))
    > >> >
    > >> > --
    > >> > HTH
    > >> >
    > >> > Bob Phillips
    > >> >
    > >> > "MS Excel" <obaid@geo-logistics.com.pk> wrote in message
    > >> > news:uqhoUiUgFHA.2152@TK2MSFTNGP14.phx.gbl...
    > >> >> THANKS FOR YOUR HELP..
    > >> >>
    > >> >> One more thing, how to automatically change color of item which have

    > > same
    > >> >> value in different column... like in below data data in B1 is equal

    to
    > > C3
    > >> >> and B4 is equal to C1.
    > >> >> Simply the proposed solution should match a column with another

    column
    > >> >> and
    > >> >> change color of matched cells.
    > >> >>
    > >> >> Column COLUMN
    > >> >> B C
    > >> >> 1) 235.66 552.05
    > >> >> 2) 154.60 623.00
    > >> >> 3) 239.05 235.66
    > >> >> 4) 522.05 154.60
    > >> >>
    > >> >> Hope I am clear..
    > >> >>
    > >> >>
    > >> >> "Ragdyer" <RagDyer@cutoutmsn.com> wrote in message
    > >> >> news:ORuSMQMgFHA.2268@TK2MSFTNGP15.phx.gbl...
    > >> >> > To highlight *only* the first occurrence of the cell that matches
    > >> >> > the
    > >> > data
    > >> >> > in A1,
    > >> >> > Select Column B, from B1 to whatever, with the focus of the
    > >> >> > selection
    > >> >> > in
    > >> >> > B1
    > >> >> > (colored white), then:
    > >> >> > <Format> <Conditional Format>,
    > >> >> > Change "Cell Value Is" to "Formula Is",
    > >> >> > And enter this in the next box:
    > >> >> >
    > >> >> > =AND(COUNTIF($B$1:B1,$A$1)=1,$A$1=B1)
    > >> >> >
    > >> >> > Click on "Format" and choose whatever format you wish,
    > >> >> > Then <OK> <OK>
    > >> >> >
    > >> >> > To highlight only the first *2 matches*, enter this formula:
    > >> >> >
    > >> >> > =AND(OR(COUNTIF($B$1:B1,$A$1)=1,COUNTIF($B$1:B1,$A$1)=2),$A$1=B1)
    > >> >> >
    > >> >> > --
    > >> >> > HTH,
    > >> >> >
    > >> >> > RD
    > >> >> >
    > >> >>
    > >>

    >
    >>> ------------------------------------------------------------------------

    -
    > > -
    > >> > -
    > >> >> > Please keep all correspondence within the NewsGroup, so all may

    > > benefit
    > >> > !
    > >> >>
    > >>

    >
    >>> ------------------------------------------------------------------------

    -
    > > -
    > >> > -
    > >> >> > "MS Excel" <obaid@geo-logistics.com.pk> wrote in message
    > >> >> > news:u6pjH3HgFHA.2548@TK2MSFTNGP10.phx.gbl...
    > >> >> >> Per below list, i want to change colour of a cell whose value

    > > matches
    > >> >> >> with
    > >> >> >> CELL A1 contents. For example:
    > >> >> >>
    > >> >> >> A1 = 239.05
    > >> >> >> Column B
    > >> >> >> 1) 235.66
    > >> >> >> 2) 154.60
    > >> >> >> 3) 239.05
    > >> >> >> 4) 522.05
    > >> >> >>
    > >> >> >> As I enter 239.05 in cell A1 it automatically change colour of

    CELL
    > > B3
    > >> >> >> (that's equal to 239.05). Any possibility?
    > >> >> >> Be noted that it should seach for the first occurence only.. also

    > > what
    > >> >> >> amendment can enable the proposed solution to search for all

    first
    > >> >> >> &
    > >> > next
    > >> >> >> occurence ?
    > >> >> >>
    > >> >> >>
    > >> >> >> Regards,
    > >> >> >> Syed
    > >> >> >>
    > >> >> >>
    > >> >> >
    > >> >>
    > >> >>
    > >> >>
    > >> >
    > >> >
    > >>
    > >>

    > >
    > >

    >
    >




  4. #4
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    I saw that my previous link was not working.

    Is this what you want? http://www.excelforum.com/attachment...tid=3568&stc=1

    Ola

  5. #5
    MS Excel
    Guest

    Re: Automatic change color of searched value in a column...

    Yes its working... its really very helpfull.. thanks to both of you for
    helping..


    "olasa" <olasa.1rqt2p_1120644379.9139@excelforum-nospam.com> wrote in
    message news:olasa.1rqt2p_1120644379.9139@excelforum-nospam.com...
    >
    > I saw that my previous link was not working.
    >
    > Is this what you want?
    > http://www.excelforum.com/attachment...tid=3568&stc=1
    >
    > Ola
    >
    >
    > --
    > olasa
    > ------------------------------------------------------------------------
    > olasa's Profile:
    > http://www.excelforum.com/member.php...o&userid=17760
    > View this thread: http://www.excelforum.com/showthread...hreadid=384271
    >




  6. #6
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    Thanks for the feedback. Happy it helped.
    Ola

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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