Some Cells After MS Query Table Refreshed Have to Be Clicked before Formatting Works

elwayfan446

New Member
Joined
Oct 27, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hello all.

I have a situation that is driving me crazy. First off, I am using excel in Office 365.

I have a workbook in which I export data out of SAS tables into different sheets. I have a main sheet where I use MS Queries to pull that data in from the other worksheets in the workbook. I have formatted certain columns in each of them to be percentages and currency. 3 of the 4 queries keep that formatting when the workbook is refreshed, however, 1 of them is not refreshing correctly. When refreshed, the data populates in a way that I have to double click on the cell and move out of it for the format to take effect. It's only happening in a couple of columns in the query.

I have tried the following:
  • Made sure all the options for preserving the formatting have been checked
  • Deleted the query and recreated it
  • Created the same query in different worksheets to see if there was some issue with the specific cells that I was having to click on. Happens no matter where I put it

I have put an all out blitz on Google but can't find an answer that fixed my problem. I just can't figure out why 3 of my queries work fine but this one doesn't. All data that feeds in from the other tabs are formatted identically (general) on the tabs.

I am hoping someone can help asap.

Thanks!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Well, I ended up rebuilding it all in Power Query vs. MS Query and everything seems to be working better.
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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