+ Reply to Thread
Results 1 to 7 of 7

Compare Value and Highlight which is not Most Common Value

  1. #1
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Compare Value and Highlight which is not Most Common Value

    Dear Experts,

    In the attached File

    Column A - Part Number, Column B – Description, Column C – Delivery Unit, Column D – Length, Column E – Width, Column F – Height, Column G – Gross Weight Respectively
    The Part Numbers Repeats from Minimum 2 to Maximum “N” number of times with the different Parameter like Delivery Unit, Length Etc.,

    Cell J1 to N1 I have Tolerance Limit for J2 to N2 Parameter respectively. I am looking for the formula in J3 to N68 like Keeping Part Number as a Reference, Suggested Formula has to Compare individual parameter like Deliver Unit, Length Etc., with + or – Tolerance limit, If the value falls under Tolerance lime it has to Result 1 if not the Result has to be Zero.

    With that I could able to create my signal in Column P!

    Note:

    1. Though attached file contains 66 Rows of Data only, my live file contains more than 25000+ Rows of Data

    2. Though attached file data sorted by Part Number, my live file doesn’t sort by any part number

    Looking forward your valuable suggestion!

    Thanks & Regards,
    Rajeshkumar R

  2. #2
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: Compare Value and Highlight which is not Most Common Value

    [FONT=Century Gothic]Dear Experts,

    Could you please provide your suggestions to address by subjected Query!

    Thanks & Regards,
    Rajeshkumar R
    [
    /FONT]

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

    Re: Compare Value and Highlight which is not Most Common Value

    Please try
    J3
    =N(C3=12000)

    K3
    =N(ABS(D3-55)<=2)

    L3
    =N(ABS(E3-35)<=2)

    M3
    =N(ABS(F3-20)<=2)

    N3
    =N(ABS(G3-10)<=1)

  4. #4
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: Compare Value and Highlight which is not Most Common Value

    Dear Bo_Ry,

    Thanks for your Quick Response, Your suggested formula works fine when there is a limited Number of Part Number with Know comparison value!

    But, In my case as I stated in my original post, there are many Rows of Data where I would like to accomplish subjected Query. So, Please do suggest which take care of "Note" mentioned in Original Post!

    Thanks & Regards,
    Rajeshkumar R

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

    Re: Compare Value and Highlight which is not Most Common Value

    Please specific on how you select most common value on each category.

    Eg.

    length
    40.00
    53.00
    54.00
    55.00
    56.00
    57.00


    Gross Weight
    10.00
    11.00
    9.00
    8.00
    9.00
    11.00

  6. #6
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: Compare Value and Highlight which is not Most Common Value

    Dear Bo_Ry,

    I am trying to use =MEDIAN(IF(PN=E2,DU)) Array Function to get the closest value than then trying to compare with Data!

    Thanks & Regards,
    Rajeshkumar R

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

    Re: Compare Value and Highlight which is not Most Common Value

    Then please try at J3:N3 copy down

    =N(ABS(C3-MEDIAN(IF($A$3:$A$68=$A3,C$3:C$68)))<=--RIGHT(J$1))

    Please see attached, there are some different in formula result and expect result.

    This is depend on how you choose Most Common Value.

+ 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. Replies: 2
    Last Post: 11-27-2016, 05:56 PM
  2. need to pick information from common sheet and calculate and highlight high value
    By anuwers in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-30-2016, 05:11 AM
  3. [SOLVED] Highlight common char in column A
    By p30tec in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-13-2014, 07:14 AM
  4. [SOLVED] vba - compare 2 columns highlight data not common to both
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-09-2014, 06:00 AM
  5. Replies: 6
    Last Post: 04-10-2013, 01:15 AM
  6. [SOLVED] Highlight cells that are common among several columns
    By vasu81 in forum Excel General
    Replies: 2
    Last Post: 10-05-2012, 02:00 PM
  7. macro to compare columns and highlight common rows
    By jagman1990 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-22-2010, 12:27 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