Hello!
I'm trying to use the index match function and am getting an #N/A when including dates as one of my criteria. Any ideas what might be causing this?
Cheers,
M
Hello!
I'm trying to use the index match function and am getting an #N/A when including dates as one of my criteria. Any ideas what might be causing this?
Cheers,
M
Can you copy and paste your formula? My guess is that it is a cell formatting issue, or the date may not be coded correctly in your formula, but without seeing the formula, there is no way to verify.
I'm using :where the last entry refers is the date criteria.Please Login or Register to view this content.
Are the dates numbers or text that look like dates?
Dave
To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.
To attach a file to your post,
click advanced (next to quick post),
scroll down until you see "manage file",
click that and select "add files" (top right corner).
click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"
Once the upload is completed the file name will appear below the input boxes in this window.
You can then close the window to return to the new post screen.
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
Thanks,
I've attached a demo version of the file. The issue I'm having is on the "Combined Data" Sheet.
Cheers
1. your dates in CSGL sheet include time, so no pure dates will match them. You need to strip out the times\
2. avoid using full-column references in ARRAY formulas, they will slow your file down - just use the range you need
Thanks for the feedback! Could you show me how to strip out the times from the dates?
Cheers
Could you show me how to strip out the times from the dates?
=TEXT(LEFT(B2,LEN(B2)-6),"dd-mm-yyyy")*1 and format as date
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
for which cells you get an error?
you have to give us all the information to get a decent answer.
another way use text to column and use space as a separator.
excel file attached.
Last edited by oeldere; 06-20-2016 at 11:13 AM.
I'm getting this error in cell R4, R7 & R8.
If you are getting an error from oelere's formula, then those are probably not dates, but text looking like dates
Another way to strip time =INT(cell-ref)
Thanks for marking the question closed.
It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks