How to get a formula to correctly verify a number by disregarding the last two decimal digits

ecrodrig

Board Regular
Joined
Jan 21, 2022
Messages
99
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
So I am trying to match 2 numbers from different workbooks calculated via formulas. The problem is that one number is coming up as 1575.30, and the other is coming up as 1575.3025. I want to be able to either round it when doing the match or have a wild card to disregard everything past the 2nd decimal. So match 1575.30 and ignore the last two digits.

=LET(Verify, XLOOKUP(A4,'[RFS billings.xlsx]2021 2022'!$A:$A,'[RFS billings.xlsx]2021 2022'!$AA:$AA), IF(Verify='Master_Data_File (2)'!U4, "good", "check"))

The output from the Xlookup formula is 1575.3025 the number in U4 is 1575.30, so my result is coming up as "check" when it really should be good.

Any help is appreciated. Thanks.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Wouldn't it jus be a matter of chaging your comparison part to this ?
Excel Formula:
IF(ROUND(Verify,2)=U4
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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