Return non blank cells in a row throughout a table?

zuki01

New Member
Joined
Jul 25, 2014
Messages
23
H Hi

I have made a macro (using a lot of help from this forum) to produce a table made up of rows with postcodes in and then some blank cells before the next postcode my drivers go to.

My problem is that the postcodes come out in different columns. So in A1 is a postcode and in D1 is the next postcode and then the next driver on row B has his postcodes in B2 and C2.

I want to put a formula in say column F that can copy down and find the first postcode and then a formula in column G and copy down to show the second.

I’ve tried to do it with Index and Find functions but to no avail.

Any help would be much appreciated.

Thanks.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,216,113
Messages
6,128,903
Members
449,477
Latest member
panjongshing

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