Err when I paste data with formulas as values in data validation cells with Ignore Blank Applied

drom

Well-known Member
Joined
Mar 20, 2005
Messages
528
Office Version
  1. 2021
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
Hi and thanks in advance!

I have a huge table in excel, many rows, many Columns.

I have to fill Say from Col 1 to Col 34 by Macro. NO PROBLEM

Then I use a Formula for some other Columns Say Columns(35, 36, 37 and 38)

Once the formula It's been pasted and calculated I paste just the Values, NO PROBLEM

Why I don't use a Macro, Because I do not like

The Column 35 has a List Data Validation within the Table.

This Data Validation allows Empty cells, so Ignores Blank cells.

My Problem:

When I paste the Data as values and I paste empty values, I get err on the empty cells in this column.


If I go to the Inmediate VBA window and I input
?"XXX" & Activecell.value & "XXX"
I get:
"XXXXXX"

So the cell is actually empty, what am I missing?

If I delete the actually empty cell, the err dissapears.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
If I go to the Inmediate VBA window and I input
?"XXX" & Activecell.value & "XXX"
I get:
"XXXXXX"

So the cell is actually empty, what am I missing?

If I delete the actually empty cell, the err dissapears.
It's better to check with LEN() in case there are non-printable characters.
 
Upvote 0

Forum statistics

Threads
1,216,117
Messages
6,128,935
Members
449,480
Latest member
yesitisasport

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