Trouble sorting list with blank cells - XL2007

scott1978

New Member
Joined
Mar 19, 2009
Messages
2
I'm using Excel 2007 on WinXP.

I have a sheet ("Summary") that has formulas pulling in a column of IDs from a pivot table on another sheet (i.e. =pivot!a1, =pivot!a2, etc). The length of the list of IDs in the pivot table changes each month. I use this list of ID numbers on the "Summary" sheet to perform vlookups/calculations on sets of data from other worksheets in the workbook.

I am trying to devise a way where I do not have to pull down or erase the formulas at the bottom of the list on the "Summary" sheet each month, and where that list will be sortable without displaying blank cells at the top of the list after sorting. I also have cell borders and one column has highlighting, so this formatting needs to be hidden/erased for blank cells as well.

I have tried setting all the formulas to show zero when the ID column is zero, setting the sheet to hide zero values, then using conditional formatting to get rid of the borders and highlighting, but it doesn't get around the sorting issue. When I sort by any column, it shows the blank columns at the top of the list.

I've only used the "if" formula to try to accomplish this. Have tried setting the blank cell using "", [nothing for the TRUE value], and 0. None of that gets around the sorting issue. I don't want to use VBA/macros to accomplish this. I want to stick to just formulas and conditional formatting.

Any suggestions? Thanks!

-Scott
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,212,933
Messages
6,110,752
Members
448,295
Latest member
Uzair Tahir Khan

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