How to extract values from base sheet to new sheets, without blanks and including expanding ranges

Captain Hindsight

New Member
Joined
Oct 9, 2013
Messages
46
I have a tab in Excel in a normal database style.

One of the columns categorises the items.

I then have subsequent tabs - one per category where I want formulas to extract all the entries in that category from the base sheet.

I can do this with a vlookup or IF function, but the two criteria that make it more difficult are:

1. I will constantly be adding rows to the base data so the range will change
2. I do not want any blanks to be on my sub-tabs. e.g. vlookup returns value in B2, #N/A in B3 and B4, value in B5, etc. I want it to show the value in B2 as it would, then in B3 show the value that would have been in B5

Thanks
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,215,923
Messages
6,127,721
Members
449,399
Latest member
VEVE4014

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