The below formula returns an incorrect match. I am trying to create a drop down option for each table of data, but it returns a match even when it shouldn't
=INDEX(INDIRECT(A2&"[PTP Edit Rationale]"),MATCH(A4&"|"&B4,(INDIRECT(A2&"[Pair]",0))))
The below formula returns an incorrect match. I am trying to create a drop down option for each table of data, but it returns a match even when it shouldn't
=INDEX(INDIRECT(A2&"[PTP Edit Rationale]"),MATCH(A4&"|"&B4,(INDIRECT(A2&"[Pair]",0))))
Hard to tell without a workbook to reference. Create a short dummy workbook and upload as per the instructions in yellow at the top of the page. When you say it returns a match, what sort of match? Any pattern like off by 1? Again, an example would clarify all of this.
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
Please read the yellow banner at the top of the page. Or skip to extended version of it below:
Will you please attach a SMALL sample Excel workbook(s) (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).
1. Make sure that your sample data are truly REPRESENTATIVE of your real data. (If there are typical cases like: all unique values/duplicates could occur, day/night, nobody present/several persons at once, before/on/past due, empty cells between data, mixed text/numbers, etc. - please show them all, or at least indicate in text). The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.
2. Make sure that your desired solution(s) is/are also shown (mock up the results manually).
3. Make sure that all confidential/restricted information (either personal or business) like real e-mails, social security numbers, bank accounts, etc. is removed first!!
To attach an Excel file you have to do the following (paperclip icon does not work!): Just before posting, scroll down and press Go Advanced button and then scroll down and press Manage Attachments link. Now follow the instructions at the top of that pop-up screen.
Best Regards,
Kaper
Capture.JPG
I would like to be able to select a table from the drop down, and get a matching description for a pair of codes from that table.
But my formula gives me a description even when the cells for the codes are blank or the codes I enter is not from the table I selected.
The following formula seems to work:Formula:
Please Login or Register to view this content.
Note that Table2 needs to be resized.
Let us know if you have any questions.
Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.
This worked perfectly. Thank you so much!
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks