+ Reply to Thread
Results 1 to 12 of 12

Match formula

  1. #1
    Forum Contributor
    Join Date
    06-21-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    179

    Match formula

    Gurus,

    I am having an issue using Match. I am using it in combination with Index however, the result is N/A. Please review the Picture supplied.

    the ultimate goal is to have the result as Mon 7/11/16.

    HTML Code: 
    Attachment 471464

    TIA,
    Tim

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

    Re: Match formula

    It would be easier for someone to help if you would upload the file instead of a picture of the file. To attach a workbook click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window. I would also add that the logical condition of the IF function is different in the picture than in post #1.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Contributor
    Join Date
    06-21-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Match formula

    Here is the file along with a picture,

    Tim
    Attached Images Attached Images
    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,944

    Re: Match formula

    This is not working because B is text and F is numeric. While it woud be a simple matter to convert the numeric to text MATCH(TEXT(F16,"0.0"),B:B,0)
    I would 1st question what you are trying to do with that formula in B?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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

  5. #5
    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,944

    Re: Match formula

    hmm looking at what you have in B, I think this will do the same thing...

    1. start with a "seed" of 1 in B9
    2. use this in B10 and copy down...
    =IF(A10="","",IF(A10<>1,B9+0.1,INT(B9)+1))

  6. #6
    Forum Contributor
    Join Date
    06-21-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Match formula

    Ford,

    I am using the data in column (F) to determine the tasks predecessor. When that is matched, then I find that tasks end date. The result will be the next date. The
    HTML Code: 
    will determine that date based on weekends and holidays.

    Thanks,
    Tim

  7. #7
    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,944

    Re: Match formula

    Yes, I get that part. You cannot search for text in a numeric range or vise versa, thats why I said you need to either convert the search criteria to text (i showed how above), OR change the criteria range to numeric (which I did with my shorter formula)

  8. #8
    Forum Contributor
    Join Date
    06-21-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Match formula

    Ford,

    Okay. Back on this spreadsheet now. I followed your short formula and it appears to work. However, I get random MATCH errors. Please have a look.Match error.jpg
    Attached Files Attached Files

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

    Re: Match formula

    Try this slight modification of Ford's formula in B10 and down which forces Excel to round to only one decimal place so that errors are not caused when the 30th or so decimal place is different:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Let me know if you have any questions.

  10. #10
    Forum Contributor
    Join Date
    06-21-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Match formula

    JeteMC,

    Thanks for your input. With Ford's and your help the formula works great!!

    Thanks Again,
    Tim

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

    Re: Match formula

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.

  12. #12
    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,944

    Re: Match formula

    Happy to help, thanks for the feedback

+ 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. Replies: 11
    Last Post: 01-12-2016, 03:30 PM
  2. Replies: 13
    Last Post: 06-04-2015, 01:59 AM
  3. Replies: 1
    Last Post: 10-06-2014, 02:13 PM
  4. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  5. array match formula fails but simple match works
    By dimwit in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-06-2014, 07:30 PM
  6. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  7. Replies: 5
    Last Post: 02-29-2012, 08:51 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