+ Reply to Thread
Results 1 to 10 of 10

Need help checking multiple cells and increasing counter

  1. #1
    Registered User
    Join Date
    10-09-2014
    Location
    Syracuse
    MS-Off Ver
    Office 2013
    Posts
    43

    Need help checking multiple cells and increasing counter

    I need help writing a formula that will check A2:A300 to find a name found, for example if the name is "Jim" and then count that and put the counter in J2. However, I need the Macro to also check Cells C2:C300 because in C2:C300 there's months. The counter in J2 needs to stop when the next month starts. The cells in C2:C300 are dated in the 11/19/2014 format etc.

    Basically:

    Check A2:A300 for a name
    Check to see if the date in the corresponding C column(So if it finds "Jim" in A2 then it checks C2) is for November
    Increase counter by 1 IF the Name is found in A2:A300 AND the corresponding C2:C300 was in the month of November(current format is 11/19/2014)
    Put counter into cell J2
    Attached Files Attached Files
    Last edited by airhoodz; 11-19-2014 at 05:23 AM.

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Need help checking multiple cells and increasing counter

    Please upload sample workbook.Thanks
    Post a WORKBOOK:
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Registered User
    Join Date
    10-09-2014
    Location
    Syracuse
    MS-Off Ver
    Office 2013
    Posts
    43

    Re: Need help checking multiple cells and increasing counter

    Quote Originally Posted by wenqq3 View Post
    Please upload sample workbook.Thanks
    Post a WORKBOOK:
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.
    Sorry, there is sensitive material that I cannot upload.

  4. #4
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Need help checking multiple cells and increasing counter

    You can remove sensitive data, and create a dummy sample with expected answer you want.

  5. #5
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Need help checking multiple cells and increasing counter

    Hi, you don't need to post a actual worksheet, You can Post a mock up version , Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.


    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Click just below left if it helps, Boo?ath?

  6. #6
    Registered User
    Join Date
    10-09-2014
    Location
    Syracuse
    MS-Off Ver
    Office 2013
    Posts
    43

    Re: Need help checking multiple cells and increasing counter

    Quote Originally Posted by boopathiraja View Post
    Hi, you don't need to post a actual worksheet, You can Post a mock up version , Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.


    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    It has been uploaded.

  7. #7
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Need help checking multiple cells and increasing counter

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    10-09-2014
    Location
    Syracuse
    MS-Off Ver
    Office 2013
    Posts
    43

    Re: Need help checking multiple cells and increasing counter

    Quote Originally Posted by wenqq3 View Post
    Please Login or Register  to view this content.
    Yep, that's it!

    Thanks so much!

  9. #9
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Need help checking multiple cells and increasing counter

    Please Login or Register  to view this content.
    Welcome. Suddenly think of need to check the year as well.

  10. #10
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Need help checking multiple cells and increasing counter

    Hi, try this

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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] Checking if multiple cells exceed a reference value
    By tsunamivx in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2014, 06:17 PM
  2. Checking multiple cells for text.
    By matt20687 in forum Excel General
    Replies: 5
    Last Post: 07-16-2010, 06:55 PM
  3. Checking if multiple cells are blank
    By MichaelWatson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-29-2008, 07:14 AM
  4. Checking multiple cells
    By Neil07979 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-04-2008, 04:31 AM
  5. Checking info against cells containing multiple values
    By systematic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-17-2005, 03:02 AM

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