+ Reply to Thread
Results 1 to 7 of 7

checking data against only the one client

  1. #1
    Registered User
    Join Date
    06-11-2012
    Location
    Essex
    MS-Off Ver
    Excel 2007
    Posts
    17

    checking data against only the one client

    Hi,

    Anyone know how i can get a formular to check if data in any cell in colum B matches the data in B2 but only if the name in A2 matches that client as well?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: checking data against only the one client

    Do you mean?

    =COUNTIFS(A:A,A2,B:B,B2)>1

    this will result in TRUE if there are duplicates of A2 and B2 combo in the list.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-11-2012
    Location
    Essex
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: checking data against only the one client

    Hi Looks like it works perfect,

    will do a bit more checking but seems great, thank you so much.

    :-)

  4. #4
    Registered User
    Join Date
    06-11-2012
    Location
    Essex
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: checking data against only the one client

    Hi ,

    ive adapted the formula so it does exactly what I need it to,

    the only problem is it sees values as exact amounts so for example £2.10 matches £2.10, but £2.10 does not match £2.1011111111111 for example.

    how do i make the fomula less exact so it will match the numbers?

    the adapted formula is:

    =IF(A15=0,0,COUNTIFS(Q:Q,Q15,L:L,L15)>1)

    please help if you can

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: checking data against only the one client

    You will need to round then.. so you will need to revert to SUMPRODUCT

    eg.

    =IF(A15=0,0,SUMPRODUCT(--(ROUND($Q$2:$Q$100,2)=ROUND(Q15,2)),--(ROUND($L$2:$L$100,2)=ROUND(L15,2)))

    copied down

    Note: with SUMPRODUCT it is advised to use minimum number of rows as necessary... too many rows will slow down efficiency.

    An alternate would be to create 2 new helper columns that first Round the values, then you can use COUNTIFS against those helper columns.

  6. #6
    Registered User
    Join Date
    06-11-2012
    Location
    Essex
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: checking data against only the one client

    Hi I'm Happy To Use Helper Colums can you give me the formula for this, as there is a lot of data?

    thanks again so much for your help, i'm learning so much today.

  7. #7
    Registered User
    Join Date
    06-11-2012
    Location
    Essex
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: checking data against only the one client

    i THINK iVE Done it! wow!

    thanks you for your help, I looked at the formula you did for me and took the Round part and used it and it worked, thanks so much.

+ 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