Can someone help?!
I have an index/match formula that refers to a simple =H2*I2 formula. It returns #N/A. If I type the answer in over the formula, the index match string is corrected...
What am I missing?!
Can someone help?!
I have an index/match formula that refers to a simple =H2*I2 formula. It returns #N/A. If I type the answer in over the formula, the index match string is corrected...
What am I missing?!
Last edited by MartinGTC; 12-12-2017 at 11:57 AM.
You haven't told us very much... What is the formula that you are using? Will you please attach a SMALL sample Excel workbook (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. 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 is also shown (mock up the results manually).
3. Make sure that all confidential information is removed first!!
4. Try to avoid using merged cells. They cause lots of problems!
Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Attached.
Basically - D2 sums B2 and C2. A12 should show '54' (index match 1.98 in column A, and 'a' in row 4).
I have a much larger working SS of this, and everything is fine barre 1.98. all other values in column A work. If i manually type 1.98 over the formula in D2 - the index match formula works!
Crazy!
Mod - I had posted while you had edited
Can you please reinstate my previous post?
Attached.
Basically - D2 sums B2 and C2. A12 should show '54' (index match 1.98 in column A, and 'a' in row 4).
I have a much larger working SS of this, and everything is fine barre 1.98. all other values in column A work. If i manually type 1.98 over the formula in D2 - the index match formula works!
Crazy!
Change D2 to:
=ROUND(B2*C2,2)
It's floating point arithmetic at work
https://support.microsoft.com/en-gb/...sults-in-excel
Noted, but for all other values in column A, this isn't needed - can you explain why?
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.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
I would think you want to change the first match to a 'closest match' type by removing the 0 as the 3rd argument..
change
=INDEX(B5:H9,MATCH(D2,A5:A9,0),MATCH(A11,B4:H4,0))
to
=INDEX(B5:H9,MATCH(D2,A5:A9),MATCH(A11,B4:H4,0))
I believe that this is being caused by the infamous "floating point precision error".
You can change the formula in D2 to this:
=ROUND(B2*C2,2)
or change the formula in A12 to this:
=INDEX(B5:H9,MATCH(ROUND(D2,2),A5:A9,0),MATCH(A11,B4:H4,0))
or this (depending on whether or not you are looking for an exact match):
=INDEX(B5:H9,MATCH(D2,A5:A9,1),MATCH(A11,B4:H4,0))
Dunno. Especially sine I have no idea what other values are possible for h & w..
Thanks for clarifying.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
You're welcome.
If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.
It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks