Index, Match round number - ignore decimal

tanvirabid

New Member
Joined
Aug 21, 2019
Messages
8
Hi everyone,

I am trying to do an index, match between two columns. Both have numbers. The difference is that the numbers in the decimal are different. I am trying to find a way to ignore the decimal places i.e. round to zero places. I am using this formula:
=INDEX(ROUND(B$2:B$10,0),MATCH(ROUND(A2,0),B$2:B$10,0))
But it is not working, even as an array.
The formula would work if it only considers the numbers on the left side of the decimal.
Is there a way to do this without a support rounding column. Any ideas would be appreciated. Please see attached the image.

Thanks
 

Attachments

  • index match round.jpg
    index match round.jpg
    88.1 KB · Views: 34

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi Tanvirabid,

Does this work for you?

Book2
ABCD
1List AList B
2222.22222.44222
3333.33334.99333
4444.44332.7#N/A
5555.55333.3333#N/A
Sheet1
Cell Formulas
RangeFormula
D2:D5D2=ROUND(INDEX($B$2:$B$10,MATCH(ROUND(A2,0),ROUND($B$2:$B$10,0),0)),0)
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Solution
Hi Tanvirabid,

Does this work for you?

Book2
ABCD
1List AList B
2222.22222.44222
3333.33334.99333
4444.44332.7#N/A
5555.55333.3333#N/A
Sheet1
Cell Formulas
RangeFormula
D2:D5D2=ROUND(INDEX($B$2:$B$10,MATCH(ROUND(A2,0),ROUND($B$2:$B$10,0),0)),0)
Press CTRL+SHIFT+ENTER to enter array formulas.

Thanks a lot. This is perfect.
 
Upvote 0

Forum statistics

Threads
1,215,467
Messages
6,124,984
Members
449,201
Latest member
Lunzwe73

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top