Sorting Issues

stantheman

New Member
Joined
Jun 29, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi there!

Just wondering if someone can point me in the right direction for this, as it's been racking my brain trying to figure this out.

Basically, I'm retrieving data from another table using the formula =VLOOKUP([@[Entry Number]], 'sheet3'!$B$2:$M$191,2,FALSE), which is fine working well. However, it's obviously going to give me 0's and N/A's, as the formula is referring to a COLUMN with record entries in a number auto-fill format. Basically, 1 - 300, the formula finds the cell number, then uses the data on that row to prefill, but this is causing an issue when sorting.


Is there a way to hide this n/a or 0's when sorting completely? I hide the 0's in the advance tab, they still appear blank in the sort, as the cell still contains the 0. When sorting I can use the drop-down arrow to turn OFF 'n/'a and '0', problem is, new data isn't auto-selected and won't appear in the table sorted. Any help will be appreciated!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try the =ISNA function or the =IFERROR function. They work for me when I apply them correctly to any given situation.

Should look something like this:

Excel Formula:
=IF(ISNA(VLOOKUP([@[Entry Number]], 'sheet3'!$B$2:$M$191,2,FALSE),"", VLOOKUP([@[Entry Number]], 'sheet3'!$B$2:$M$191,2,FALSE))

Good luck!
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

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