+ Reply to Thread
Results 1 to 7 of 7

How to get the count of value and row number and column number

  1. #1
    Registered User
    Join Date
    12-22-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010
    Posts
    10

    How to get the count of value and row number and column number

    I have a spreadsheet where the value "NAME" is appearing multiple times in different cell. How can get the total count and row number column number of each. Attached the spreadsheet for reference.
    Attached Files Attached Files

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: How to get the count of value and row number and column number

    Please find the file attached.

    Let me know if this is ok?

    Thank You,

    Deep
    Attached Files Attached Files
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    12-22-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010
    Posts
    10

    Re: How to get the count of value and row number and column number

    yep... it is perfect. Thanks Deep

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,530

    Re: How to get the count of value and row number and column number

    You might want to change these lines

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.

  5. #5
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: How to get the count of value and row number and column number

    Hey!

    Thank You for the suggestion.

    What does that "*" exactly do?

    It made the code so much more faster..

  6. #6
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,530

    Re: How to get the count of value and row number and column number

    It is the wildcard for "Zero or more characters"
    You can use several in vba. Type "wildcard characters" in the vba help and you'll get them all.
    It has the advantage that the code does not have to check cells that are outside the used area or that you have to change the row or column numbers.

  7. #7
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: How to get the count of value and row number and column number

    Ok Thank You,

    Ill search for it.. Cheers!

    Deep

+ 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