Trouble with Dlookup Calculated Field in Query

ozop102

New Member
Joined
Apr 18, 2019
Messages
4
Hello All,

I am having an issue using calculated fields in a query with Dlookup.

I have a query that needs to pull data from another table based on another field in the same query.

Exp1 in query:

SCOD Due: DLookUp("[SCOD Date]","SCODS","[Rank] = " & [CAL Table]![Rank])

I want the SCOD Date from the SCODS table. On the SCODS table, the dates are in DD Mmm format separated by rank.

Example of what I am trying to accomplish.

SCODS Table:
Rank SCOD Date
SSG 31 MAY

ACA Listing Query ([CAL Table]):
Rank Exp1
SSG 31 May

Then

Exp2
Exp1 & Year(Date())

31 May 2019

All this so that I can calculate due dates based on the final date in Exp2

Running this query currently leaves each field with #Error .

Any help or guidance would be greatly appreciated!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,214,971
Messages
6,122,517
Members
449,088
Latest member
RandomExceller01

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