+ Reply to Thread
Results 1 to 10 of 10

index match for table and partial cell contents

  1. #1
    Registered User
    Join Date
    08-13-2015
    Location
    Portsmouth, UK
    MS-Off Ver
    2010, 2013
    Posts
    44

    index match for table and partial cell contents

    Hi there

    I have a spreadsheet (named "checks" ) which goes from h8 to zz150

    In column M, I have various comments including "No Records"

    In Column R I have comments such as " Lee 01/10/2016"

    On a separate tab, (sheet called "sheet3) I have a table

    Along the top in row 3 I have named the columns, such as "No records"

    In Column C I have dates, such as 01/10/2016

    What I need is a formula to count the occurences whereby it cross references both "No records" and the date.

    ((As above with the date, the cell also contains a name, so it needs to be a partial search on the date)

    Can anyone help please?

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,878

    Re: index match for table and partial cell contents

    Please post a small sample file showing expected results.

    To Attach a File:

    1. Click "Go Advanced"
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.

  3. #3
    Registered User
    Join Date
    08-13-2015
    Location
    Portsmouth, UK
    MS-Off Ver
    2010, 2013
    Posts
    44

    Re: index match for table and partial cell contents

    PLease see attached. I have colour coded to hopefully aide what I am trying to do.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,878

    Re: index match for table and partial cell contents

    Try

    In I7

    =SUMPRODUCT(($D$8:$D$15=I$6)*(DATEVALUE(RIGHT($E$8:$E$15,10))=$H7))

    Copy across and down

  5. #5
    Registered User
    Join Date
    08-13-2015
    Location
    Portsmouth, UK
    MS-Off Ver
    2010, 2013
    Posts
    44

    Re: index match for table and partial cell contents

    Many thanks

  6. #6
    Registered User
    Join Date
    08-13-2015
    Location
    Portsmouth, UK
    MS-Off Ver
    2010, 2013
    Posts
    44

    Re: index match for table and partial cell contents

    Hi there. Sorry to reopen but I notice it does not allow blanks. Can you advise to allow for this please

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,878

    Re: index match for table and partial cell contents

    By blanks ... which cells?

  8. #8
    Registered User
    Join Date
    08-13-2015
    Location
    Portsmouth, UK
    MS-Off Ver
    2010, 2013
    Posts
    44

    Re: index match for table and partial cell contents

    I have found if the date cell is blank then it returns #value in the count

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,878

    Re: index match for table and partial cell contents

    Try

    =SUMPRODUCT(($D$8:$D$15=I$6)*(IF($E$8:$E$15<>"",(DATEVALUE(RIGHT($E$8:$E$15,10))=$H7),0)))

    Enter with Ctrl+Shift+Enter
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    08-13-2015
    Location
    Portsmouth, UK
    MS-Off Ver
    2010, 2013
    Posts
    44

    Re: index match for table and partial cell contents

    Lovely, thanks , works perfectly!
    Quote Originally Posted by JohnTopley View Post
    Try

    =SUMPRODUCT(($D$8:$D$15=I$6)*(IF($E$8:$E$15<>"",(DATEVALUE(RIGHT($E$8:$E$15,10))=$H7),0)))

    Enter with Ctrl+Shift+Enter

+ 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] Index partial match?
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-06-2015, 04:07 PM
  2. Index partial match?
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-06-2015, 02:12 PM
  3. Index match partial text in cell
    By ymcata in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-30-2015, 05:45 AM
  4. [SOLVED] INDEX MATCH Multiple Output with Partial Match
    By Ray Storm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-02-2015, 12:05 AM
  5. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  6. Formula for cell contents using 'index' and 'match'?
    By boostin06evo in forum Excel General
    Replies: 0
    Last Post: 08-01-2011, 03:28 PM
  7. Return cell contents on a partial match
    By rhani111 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-04-2008, 12:13 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