ExCel Data Paste Issue

Steveym

New Member
Joined
Jun 6, 2023
Messages
9
Office Version
  1. 365
Hello, I would like some help on a weird ExCel snag I am experiencing.

I have setup a formula for a specific list of data held within Column W, that works great! However, if I paste in new data to Columns J to R the formula no longer works as it should.

I think the issue is that when I paste the new data the formula reads the empty cell value as a zero, whereas previously it did not?

See images below; Top is the original that correctly picks up 'Unit 2' based on the formula, bottom is the newly pasted data which now reverts to 'Unit 4' as if there is a zero value within the cells of Column R.

I can delete the dataset, Paste Special and 'Skip Blanks' but the dataset has the same issue.

I must note that the same cells are not always populated so I cannot Paste Special and 'Skip Blanks' over the top of the existing data as some cells not previously blank remain.

1686060112986.png


1686060159219.png


Thanks Steven
 

Attachments

  • 1686059990790.png
    1686059990790.png
    72 KB · Views: 24

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
There are probably a few better ways to do the overall formula than a lot of nested if statements. So the overall formula might be able to help in that regard.
That being said, assuming the expected type of data in column N is the same as columns K and Q, you could try the following:
...AND(K1079="",N1079="",Q1079=""))...
or
=IF(LEN(K1079&N1079&Q1079)<=3),"Unit 1",...
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
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