XLOOKUP with 2 criteria returning #N/A

StuckInWork

New Member
Joined
Jul 30, 2021
Messages
6
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
Platform
  1. Windows
Afternoon, I'm hoping someone is able to help me determine the cause of the below #N/A error, the formula is as below, looking up both the date (H14) and time (I14) in separate columns on another sheet to return the data under the PB column.

=XLOOKUP(H14&I14,'Volume Tracker'!E:E&'Volume Tracker'!F:F,'Volume Tracker'!G:G)

The only issue I can potentially see is the formatting of the time and data, however it is formatted the same in both sheets.

Any ideas? Thanks in advance.




1707749700725.png

=XLOOKUP(H14&I14,'Volume Tracker'!E:E&'Volume Tracker'!F:F,'Volume Tracker'!G:G)

1707749727176.png
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
working for me - on a quick sample

check the dates and times are real - just change to general format - and all should be numbers

so dates will be something like 45327 = 5/2/24
time 09:30 be something like 0.3958

Book3
CDEF
11
122/5/2445327
139:300.39583333
14
Volume Tracker
Cell Formulas
RangeFormula
D12D12=E12
E13E13=D13


Book3
GHIJK
12
13
141/1/249:30100
15
16
Sheet1
Cell Formulas
RangeFormula
J14J14=XLOOKUP(H14&I14,'Volume Tracker'!E:E&'Volume Tracker'!F:F,'Volume Tracker'!G:G)


Book3
DEFGH
2
3
41/1/249:30100
52/1/24010:3020000
6
7
Volume Tracker
 
Upvote 0
Thanks, I've a quick look and that seems to have resolved it.
 
Upvote 0

Forum statistics

Threads
1,215,094
Messages
6,123,071
Members
449,092
Latest member
ipruravindra

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