Control Shift Copy Picking Up Iferror Blank Cells

longtail18

New Member
Joined
Oct 23, 2018
Messages
5
Hello - looking for some help / advice on the following.

I have added an iferror to my index match to return results of 0 as blank; however, when I control shift copy it picks up all cells with the formula regardless if the cell contains a number or blank. I would like a way to only then copy the cells which contain a number, and not all cells that contain the formula.

Is there a way to do this? Would appreciate the help - thank you!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
If you mean the"blanks" are at the end of the data then you can do it with VBA but we would need to know the Column/s or Range you are copying from and the destination.
 
Last edited:
Upvote 0
Or you can use Specialcells...

Select the range, click Ctrl + G, click Special, then check Formulas and make sure that numbers is the only item checked under it and click OK.
 
Last edited:
Upvote 0
I have included an image to help explain...
2mywair.png
[/IMG]


I would like to copy down to E5 and then over to B5 to select the area that has a value in units ordered. Instead, because the iferror formula I select through to E7 and over.

Was trying to see if there was a way to only select down to the area that has a number in the units ordered column.

Hope this helps clarify - thanks
 
Upvote 0
Code:
Sub SelectBE()
Range("B3:E" & Columns("E").Find("*", , xlValues, , xlRows, xlPrevious).Row).Select
End Sub
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,262
Members
452,627
Latest member
KitkatToby

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