Consulting

Results 1 to 6 of 6

Thread: Solved: Value Matching Validation

  1. #1

    Solved: Value Matching Validation

    Hi all,

    Wondering you could assist please. Wat i would like some help with is if there is a way to match if the same value is being use...

    Example:

    C6:F12 is like my "table"

    As you can see in C6 + C9 they both have the same value also C8 + E6 have the same values, what i would like is an error to appear if the same values are used twice (hope this makes sense)

    I have tried IF statments but with no success.....

    Any help much appriecated


    Thanks in advance

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Try this
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    WOW, that is amazing... Thanks very much xld

    *****

    Just to mix things up a bit, would you be able to do it with text instead of numbers??

    ***** it works with text also , thanks VERY much
    Last edited by anthony20069; 04-29-2009 at 03:50 AM.

  4. #4
    Ok sorry for the double post, but could you inform me on how to add more things to the list? every time i try to add a new row, I get this error "You cannot change part of an array"....

    Thanks

  5. #5
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Select all of the c ells in column D that align to your (current) values in column B, then go to the bottomn right of that selection until the cursor changes to a black cross, mosue drag down howvere many more cells you need. Then hit F2, and change the 15 in the formula to your new last row, and array enter it (Ctrl-Shift-Enter). Finally, copy the formula in column c down as well, this is just a regular formula.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  6. #6
    excellent thanks very much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •