Empty Row VBA

jamesmev

Board Regular
Joined
Apr 9, 2015
Messages
233
Office Version
  1. 365
Platform
  1. Windows
I currently have a form where sheet 2 is being filled by a cell reference and the following formula:

**=IFERROR(IF(E1="volume",INDEX(Sheet1!$B$14:$B$9999,SMALL(IF(Sheet1!$B$14:$B$9999<>"",ROW(Sheet1!$B$14:$B$9999)-ROW(Sheet1!$B$14)+1),COUNTIF($E$1:E1,"item code"))),INDEX(Sheet1!$A$14:$A$9999,SMALL(IF(Sheet1!$B$14:$B$9999<>"",ROW(Sheet1!$B$14:$B$9999)-ROW(Sheet1!$B$14)+1),COUNTIF($E$1:E1,"item code")))),"")**

I want the user to be able to have a macro that goes to the next empty row on sheet two referencing the same information.
I am stuck on this.

Any Help?
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,216,574
Messages
6,131,492
Members
449,653
Latest member
aurelius33

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