索引/匹配函数不返回精确匹配。

I'm having and issue with the MATCH function not returning an exact match. If my understanding of the formula is correct:
"1" for the [search_type] should find the first value greater than or equal to the search_value starting from left to right, or top to bottom.
"-1" should find the first value less than or equal to the search_value starting from right to left, or bottom to top.
"0" should return an exact match ...However when I type "0" it is not working properly.
Formula I'm using =INDEX({8. Base Pricing - Release 8 Range 4}, MATCH([Account Codes]@row, {Account Code}, 0), MATCH([Unit Type]1456, {8. Base Pricing - Release 8 Range 5}, 0))
The goal is to match the Account Code (blue) with the correct row, then the Unit Type (pink) with the correct column, and return the corresponding price.
This is the sheet INDEX is referencing, with Cost Code as the row range, and row 1 as the column range. My example should be returning a value of $1,115,000, but it is returning a value of $1,130,000
So for whatever reason it's clearly pulling the value from column 3M-D instead of the exact match of "3M". I understand that with "1" and "-1" it will pull a partial match with the first "3M" it comes across, but when "0" is supposed to be an exact match it's still not working correctly? For the record I've run across this issue before when using the [column_index] with the INDEX function, where sometimes it works and sometimes it doesn't.
Thanks.
Answers
-
Paul Newcome ✭✭✭✭✭✭
Help Article Resources
Categories
Check out theFormula Handbook template!
I guess you forget to use AND( ).<\/p>
For example, <\/p>
- IF([Total Value to User Score]@row = <3.8, >4.7, \"Mild,<\/li><\/ul>
should be<\/p>
- IF(AND(<\/strong>[Total Value to User Score]@row < 3.8, [Total Value to User Score]@row > 4.7)<\/strong>, \"Mild\",<\/li><\/ul>
However, the following would be more straightforward.<\/p>
- =IF([Total Value to User Score]@row >= 4.8, \"No Pain\", <\/li>
- IF([Total Value to User Score]@row >= 3.8, \"Mild\", <\/li>
- IF([Total Value to User Score]@row >= 2.8, \"Moderate\", <\/li>
- IF([Total Value to User Score]@row >= 1.8, \"Very Severe\", <\/li>
- IF([Total Value to User Score]@row < 1.8, \"Extreme\", \"//m.santa-greenland.com/community/discussion/84668/\")))))<\/li><\/ul>
- IF(AND(<\/strong>[Total Value to User Score]@row < 3.8, [Total Value to User Score]@row > 4.7)<\/strong>, \"Mild\",<\/li><\/ul>