+ Reply to Thread
Results 1 to 8 of 8

Help! need formula to compare values

  1. #1
    Registered User
    Join Date
    02-01-2019
    Location
    Murree
    MS-Off Ver
    2010
    Posts
    4

    Help! need formula to compare values

    In the following data, I need to see how many times a particular number from Column G "List" is with any other number starting with letter "J" in same Column G, with condition of having unique Acc# i.e. Column B.


    Sr# Acc# Name GAccNo DATE UserName List ECD Codes
    1 2,158 JOHN, WRIGHT 99823 1/12/2015 ADMN 36591 2837.2, 2kj3k.0, 4.34, 8392.33,
    2 2,158 JOHN, WRIGHT 99823 1/12/2015 ADMN 85025 2837.2, 2kj3k.0, 4.34, 8392.33,
    3 2,158 JOHN, WRIGHT 99823 1/12/2015 ADMN 96372 2837.2, 2kj3k.0, 4.34, 8392.33,
    4 2,158 JOHN, WRIGHT 99823 1/12/2015 ADMN J1642 2837.2, 2kj3k.0, 4.34, 8392.33,
    5 2,505 JOHN, WRIGHT 99823 1/20/2015 ADMN 36591 2kj3k.0, 2837.2, 4.34, 8392.33,
    6 2,505 JOHN, WRIGHT 99823 1/20/2015 ADMN 85025 2kj3k.0, 2837.2, 4.34, 8392.33,
    7 2,505 JOHN, WRIGHT 99823 1/20/2015 ADMN 96365 2kj3k.0, 2837.2, 4.34, 8392.33,
    8 2,505 JOHN, WRIGHT 99823 1/20/2015 ADMN 96372 2kj3k.0, 2837.2, 4.34, 8392.33,
    9 2,505 JOHN, WRIGHT 99823 1/20/2015 ADMN 99213 2kj3k.0, 2837.2, 4.34, 8392.33,
    10 2,505 JOHN, WRIGHT 99823 1/20/2015 ADMN J1642 2kj3k.0, 2837.2, 4.34, 8392.33,
    11 2,505 JOHN, WRIGHT 99823 1/20/2015 ADMN J1756 2kj3k.0, 2837.2, 4.34, 8392.33,
    12 2,505 JOHN, WRIGHT 99823 1/20/2015 ADMN J7050 2kj3k.0, 2837.2, 4.34, 8392.33,
    13 2,506 JOHN, WRIGHT 99823 1/22/2015 ADMN 36591 2837.2, 2kj3k.0, 4.34, 8392.33,
    14 2,506 JOHN, WRIGHT 99823 1/22/2015 ADMN 96365 2837.2, 2kj3k.0, 4.34, 8392.33,
    15 2,506 JOHN, WRIGHT 99823 1/22/2015 ADMN 96372 2837.2, 2kj3k.0, 4.34, 8392.33,
    16 2,506 JOHN, WRIGHT 99823 1/22/2015 ADMN 99211 2837.2, 2kj3k.0, 4.34, 8392.33,
    17 2,506 JOHN, WRIGHT 99823 1/22/2015 ADMN J1642 2837.2, 2kj3k.0, 4.34, 8392.33,
    18 2,506 JOHN, WRIGHT 99823 1/22/2015 ADMN J1756 2837.2, 2kj3k.0, 4.34, 8392.33,
    19 2,506 JOHN, WRIGHT 99823 1/22/2015 ADMN J7050 2837.2, 2kj3k.0, 4.34, 8392.33,
    20 2,512 JOHN, WRIGHT 99823 1/29/2015 ADMN 36591 2kj3k.0, 2837.2, 4.34,
    21 2,512 JOHN, WRIGHT 99823 1/29/2015 ADMN 85025 2kj3k.0, 2837.2, 4.34,
    22 2,512 JOHN, WRIGHT 99823 1/29/2015 ADMN 96365 2kj3k.0, 2837.2, 4.34,
    23 2,512 JOHN, WRIGHT 99823 1/29/2015 ADMN 99213 2kj3k.0, 2837.2, 4.34,
    24 2,512 JOHN, WRIGHT 99823 1/29/2015 ADMN J1642 2kj3k.0, 2837.2, 4.34,
    25 2,512 JOHN, WRIGHT 99823 1/29/2015 ADMN J1756 2kj3k.0, 2837.2, 4.34,
    26 2,512 JOHN, WRIGHT 99823 1/29/2015 ADMN J7050 2kj3k.0, 2837.2, 4.34,
    27 2,513 JOHN, WRIGHT 99823 2/3/2015 ADMN 85025 2kj3k.0,
    28 2,513 JOHN, WRIGHT 99823 2/3/2015 ADMN 99213 2kj3k.0, 2837.2, 4.34,
    29 2,514 JOHN, WRIGHT 99823 2/17/2015 ADMN 36591 2837.2, 2kj3k.0,
    30 2,514 JOHN, WRIGHT 99823 2/17/2015 ADMN 99212 2837.2, 2kj3k.0,
    31 2,514 JOHN, WRIGHT 99823 2/17/2015 ADMN J1642 2837.2, 2kj3k.0,
    32 2,688 JOHN, WRIGHT 99823 1/26/2015 ADMN 36591 2kj3k.0,
    33 2,688 JOHN, WRIGHT 99823 1/26/2015 ADMN 85025 2kj3k.0,
    34 2,688 JOHN, WRIGHT 99823 1/26/2015 ADMN 96365 2kj3k.0,
    35 2,688 JOHN, WRIGHT 99823 1/26/2015 ADMN 99213 2kj3k.0,
    36 2,688 JOHN, WRIGHT 99823 1/26/2015 ADMN J1642 2kj3k.0,
    37 2,688 JOHN, WRIGHT 99823 1/26/2015 ADMN J1756 2kj3k.0,
    38 2,688 JOHN, WRIGHT 99823 1/26/2015 ADMN J7050 2kj3k.0,
    39 2,734 JOHN, WRIGHT 99823 1/28/2015 Taylor, Dorothy 12345 199.123,


    Thank You!
    Last edited by murree; 02-01-2019 at 01:21 PM.

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Help! need formula to compare values

    Can you attached your file with some sample data, please?
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    02-01-2019
    Location
    Murree
    MS-Off Ver
    2010
    Posts
    4

    Re: Help! need formula to compare values

    Quote Originally Posted by KOKOSEK View Post
    Can you attached your file with some sample data, please?
    not letting me attach anything, sorry.

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Help! need formula to compare values

    use Go advanced button, scroll it down a bit and choose Manage attachments link.
    Did you try this way?

  5. #5
    Registered User
    Join Date
    02-01-2019
    Location
    Murree
    MS-Off Ver
    2010
    Posts
    4

    Re: Help! need formula to compare values

    Quote Originally Posted by KOKOSEK View Post
    use Go advanced button, scroll it down a bit and choose Manage attachments link.
    Did you try this way?
    Thanks, tried that. I think its attached now.
    Attached Files Attached Files

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Help! need formula to compare values

    Your post does not comply with Rule 3 of our Forum RULES.

    Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    Please make sure to include the full link, so that other members will be permitted to continue helping you

    Note that if you have fewer than 10 posts, you may need to type the link, or past it in pieces (or ask a mod to do that for you)
    HTH
    Regards, Jeff

  7. #7
    Registered User
    Join Date
    02-01-2019
    Location
    Murree
    MS-Off Ver
    2010
    Posts
    4

    Re: Help! need formula to compare values

    Link to the the cross-post on another forum;

    www(dot)mrexcel(dot)com/forum/excel-questions/1085913-need-formula-help-plzz.html

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Help! need formula to compare values

    Since the 'List' codes beginning with the letter 'J' in the sample file are distributed such that each occurrence corresponds to a unique acct#, the attached may be to trivial to be of use.
    Column J is populated with the three 'J' codes
    The count in column K is populated using: =COUNTIFS(G$2:G$40,J2)
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Formula to compare cell values against each other
    By thedunna in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-12-2016, 11:34 AM
  2. [SOLVED] compare values in one column with another with simple formula
    By luv2glyd in forum Excel General
    Replies: 9
    Last Post: 01-02-2016, 08:48 PM
  3. Replies: 1
    Last Post: 12-28-2015, 11:02 AM
  4. [SOLVED] Formula to compare values based on set data
    By rizmomin in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-20-2015, 05:59 PM
  5. Formula to Compare Values
    By cs02 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-18-2015, 01:19 PM
  6. My formula does not compare values
    By Nvalentino in forum Excel General
    Replies: 10
    Last Post: 06-12-2012, 09:37 PM
  7. Formula to compare to 2 other values
    By ChemistB in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-05-2007, 04:09 PM

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