Importing Data Causing Blank Cells to be Non-Blank

RudeClown

Board Regular
Joined
May 31, 2016
Messages
56
Good afternoon,

I am running into an issue where I am importing a dataset from one Excel spreadsheet onto another. On this spreadsheet, I have two tabs, a "Data" tab where the dataset is imported to, and a "Summary" tab where I have formulas set up to summarize the data that has been imported. What I have found is that when the dataset is being imported from its original file onto the "Data" tab into my summarization file, there is something being added to blank cells so they are no longer blank, although they appear to be blank to the naked eye. This causes my summary formulas which involve excluding blank cells to give incorrect counts, as they're counting every cell as non-blank. I have tested, and the cells are indeed truly blank on the original dataset file. Also, if I go to a blank cell within the data on my summarization spreadsheet and hit delete, THEN the cell is counted as blank by my formula. Is there a change I can make within the connection that will fix the import? Or is there something I can do within the formula to account for this? Currently the affected formula is: =COUNTIFS(Data!E:E,"=Open",Data!H:H,"<>") It's column H that is giving me the issue, as the formula is returning the total number of "Open" cells is column E because it's counting every cell in column H as not being blank, even though that is NOT the case. For my purpose, I am counting all rows where column E = "Open" and column H = anything except blank. Any "real" data in column H would be a first & last name, otherwise it would be blank. This formula works perfectly when I copy/paste the dataset, rather than import it. Any suggestions would be greatly appreciated!
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
How about
Excel Formula:
=COUNTIFS(Data!E:E,"Open",Data!H:H,"?*")
 
Upvote 0
It means the cell contains one or more characters, although it only works with strings, not numbers.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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