Simple V Look-Up / X Look-Up

ap_terminator

New Member
Joined
Jun 5, 2022
Messages
20
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I'm try to do a really simple look up for and the look up array is a single column of numbers. See attached screenshots, Im trying to look up the values in column G in column W of another tab but it returns N/A for numbers that are clearly in Column W

Can anyone help? I feel like I'm missing a simple thing. Also i tried to used a match function but still have the same issue.

Thanks.
Formula and results screenshots.png


Return array screenshot.png
 

Attachments

  • Return array screenshot.png
    Return array screenshot.png
    48.7 KB · Views: 6

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Also if anyone has a better way of doing this, please share?
Always on the look out to do things quicker in excel and learn new ways.
 
Upvote 0
My first guess is that the numbers (or at least some of them) in column G or column W of 'FY22' contain decimals, but the column is formatted to show whole numbers only.
So numbers that look the same in the two columns may differ by small decimal amounts and hence the XLOOKUP does not match them.
Could that be the case?
 
Upvote 0
My first guess is that the numbers (or at least some of them) in column G or column W of 'FY22' contain decimals, but the column is formatted to show whole numbers only.
So numbers that look the same in the two columns may differ by small decimal amounts and hence the XLOOKUP does not match them.
Could that be the case?

The numbers in both columns have decimals that are exactly the same. Will try and play around with the format and see.
 
Upvote 0
What happens if you try this formula?
Excel Formula:
=XLOOKUP(ROUND(G9:G4015,0),ROUND('FY22'!W11:W1197,0),ROUND('FY22'!W11:W1197,0))
 
Upvote 0
What happens if you try this formula?
Excel Formula:
=XLOOKUP(ROUND(G9:G4015,0),ROUND('FY22'!W11:W1197,0),ROUND('FY22'!W11:W1197,0))
Hi,

Forgot to reply saying thanks, that works.

Does x look up or v look up not work with decimals? Still unsure why it wasn't working first time around.
 
Upvote 0

Forum statistics

Threads
1,215,375
Messages
6,124,578
Members
449,174
Latest member
chandan4057

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