+ Reply to Thread
Results 1 to 4 of 4

Find a match if not blank

  1. #1
    Registered User
    Join Date
    12-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2007
    Posts
    92

    Find a match if not blank

    Hi I want to do some verification so I am currently using

    Please Login or Register  to view this content.
    So what i want to do is check output with user inputs.

    E.g. OUTPUT USER INPUT

    Column G H I J K R S T U V Output I wish to get
    10 10 10 10 10 10 10 10 10 10 Match
    2 1 1 1 1 2 Match (Since user input was only 2 and rest are blank and in output
    corresponding to the user input column is the same I want it as a match
    2 1 1 1 1 2 2 MisMATCH since column 2 is not the same.
    1 2 1 1 1 2 Match (Since user input was only 2 (2nd column)and rest are blank and in
    Output corresponding to the user input column is the same. I want it as a match


    So prettymuch i want it to compare compare columns if there is a user input, if it is blank do not worry. I used
    Please Login or Register  to view this content.
    to shee the number of user for the row and then use that value to sum within the range. if the sum is right then it is a match.
    Please Login or Register  to view this content.
    e.g. if user input is 2, then I would get a count of 1 since columns STUV all would be blank and only Column R has 2. Then it will check Sum only R = 2, then in the output it only sums G since count is 1 and I am using that as an offset in sum. but this doesnt work if i have a Blank and then a number. The count will still be one but value is on the second column. when checking, it uses offset and only look at the fisrt column, where value is 1. not 2. so it comes as a mismatch while it is a match.

    Any help is appreciated.

    Thanks

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Find a match if not blank

    I think it would be easier to see what you want, if you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Find a match if not blank

    Hi,

    I have deleted contents from Column B and C, M and N for privacy reasons.

    As you can see only row 142 is FALSE because it has a Blank and then 2 in column R and S.


    Any help is appreciated.

    Thanks
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Find a match if not blank

    Without all the wordage from above, what exactly are you trying to check?

+ 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. Index/ Match Formula, How to return blank cell as a blank not 0
    By MDResearcher in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-24-2016, 08:40 PM
  2. Match function doesn't find BLANK cells?
    By ssudekum in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2014, 07:35 PM
  3. Range.Find function fails to find a match but For loop confirms that match exists
    By 6StringJazzer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2013, 03:35 PM
  4. Replies: 0
    Last Post: 09-21-2013, 09:03 PM
  5. [SOLVED] Return blank if no exact match or blank is found
    By matrixpom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2013, 12:57 AM
  6. [SOLVED] Find first non-blank cell after a group of blanks copy offset cells, find next blank, loop
    By gwsampso in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-21-2012, 06:11 AM
  7. Replies: 5
    Last Post: 02-29-2012, 08:51 PM
  8. Can I use the Match Function to find a blank cell?
    By RevJeff in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2011, 09:54 AM

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