Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2016, 04:38 PM
gilmourlead gilmourlead is offline Sorting Windows 10 Sorting Office 2010 64bit
Novice
Sorting
 
Join Date: Feb 2016
Posts: 2
gilmourlead is on a distinguished road
Default Sorting

I have incomplete contact list of about 2,000.
I want to sort by first, all the complete contacts (phone, address, and email),


then my people who have 2 of the 3 contact types,
then by people who only have 1 contact type.

example
rows 1-50 have data in columns A-E (5 columns total)
rows 51-80 only have data in 4 of those 5 columns
rows 81-150 only have data in 3 of those 5 columns
etc.

Is there any way to do that?

Thank you!!
Reply With Quote
  #2  
Old 02-17-2016, 07:27 AM
gebobs gebobs is offline Sorting Windows 7 64bit Sorting Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

See attached. I added a helper column that counts the number of those fields that have data. Then the table is sorted by first name, last name, and then fill count.
Attached Files
File Type: xlsx Contact.xlsx (10.8 KB, 11 views)
Reply With Quote
  #3  
Old 02-17-2016, 09:07 AM
gilmourlead gilmourlead is offline Sorting Windows 10 Sorting Office 2010 64bit
Novice
Sorting
 
Join Date: Feb 2016
Posts: 2
gilmourlead is on a distinguished road
Default

Great idea! How do I do that count? Can I do an "autosum" equation. I have about 2,000 contacts...

Thanks!
Reply With Quote
  #4  
Old 02-17-2016, 09:27 AM
gebobs gebobs is offline Sorting Windows 7 64bit Sorting Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Quote:
Originally Posted by gilmourlead View Post
Great idea! How do I do that count? Can I do an "autosum" equation. I have about 2,000 contacts...
I'm not sure why you'd need to use Autosum.

I strongly suggest you do it as I have and utilize Excel's Format as Table functionality. It offers many advantages, but specifically for your list, it makes formulas more logical and entering them in a long list is a snap. Once you enter a new formula in one cell of a column, it automatically propagates through the rest of the cells unless you force it to do otherwise.

To use Format as Table, select your entire list. The easiest way to do this is to click on a single cell and then type CTRL-a. As long as all the data are contiguous (no completely blank rows or columns), Excel will select the entire list.

Then select Home: Format as Table (in the Styles submenu) on the ribbon. Select the style you like. You can easily change the style at any time.

Now in one of the cells to the right to the table, type
Code:
=counta(
and then drag your mouse over the three fields to be counted. Press enter. You should see Excel automatically add another column to the table and populate it with the formula:

Code:
=COUNTA(Contacts[@[Phone]:[Email]])
Doesn't that look a lot more logical and intuitive than formulas that reference row and column addresses?

Trust me. If you learn this one simple thing, the Format as Table functionality, your Excel experience will change forever. Aside from the advantages already mentioned, adding/deleting data is a snap and filtering is built in.

If you run into trouble, let me know. If you want, I can do this for you in a snap if you post your sheet. Otherwise, if you prefer the classic look (please say no!), I can gin that up for you too.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Sorting and Subsorting lonniepoet Excel 3 01-28-2016 12:29 AM
Sorting Sorting texascpa Excel 1 07-15-2015 12:22 AM
Sorting Need help in aplhabetica sorting brooklyn86 Word VBA 1 06-05-2012 11:43 AM
sorting problem gsrikanth Excel 4 02-16-2012 12:30 AM
Sorting Sorting question markg2 Excel 4 01-25-2010 03:13 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:09 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft