MS Query

MarkAndrews

Well-known Member
Joined
May 2, 2006
Messages
1,970
Office Version
  1. 2010
Platform
  1. Windows
I have a problem with MS Query

It isn't copying some data over (which derive from an excel formula & is numbers)

Any idea's?

TIA
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi there, I have sent you a copy of the file

Thanks again

Mark
 
Upvote 0
This seems to be to do with the fact that the NULLS are text while the dates are Dates. It seems the SQL query cannot handle mixed data types (which make sense as a normal database would have only dates or blanks). If you manually delete the NULLS and then refresh the query, the dates come through as do the networkdays. The answer therefore is to replace the NULLS with blank cells
 
Upvote 0
Thankyou, However I have 8 documents like the one i sent you, Is it possible to use VBA to do this for me?

(I dont know where to start)


Thankyou
 
Upvote 0
If i delete the NULL from E & F, the formula I have in G no longer shows?
 
Upvote 0
You can just use Find and REplace (Control+H)

Hi, Thanks i did this

Find & replace, replace with 'space' bar

Think i'll have to amend my formaula's on Data tab

Thanks again
 
Upvote 0

Forum statistics

Threads
1,216,052
Messages
6,128,509
Members
449,455
Latest member
jesski

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