A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

sort when using VLOOKUP



 
 
Thread Tools Display Modes
  #1  
Old August 6th, 2008, 02:52 PM posted to microsoft.public.excel.worksheet.functions
Kathie
external usenet poster
 
Posts: 27
Default sort when using VLOOKUP

My sheet has a VLOOKUP set up to fill in name and Biller when client number
is entered. We use this to post checks daily with amount and invoice number.
I want to run a Macro to sort by Biller, Client number and invoice #. When
I created and ran it, it puts all blank rows first the rows with data. How
can I get it to run only on cells with data, based on values?
  #2  
Old August 6th, 2008, 03:11 PM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
Default sort when using VLOOKUP

This won't be easy. Where do you want Excel to put the blank rows?

Your choices a
1. Sort each area separately so the blank rows stay where they are.
2. Redesign your spreadsheet to eliminate the blank rows.

While option 2 may be more work initially, it will pay dividends down the
road. Leaving blank rows (and columns) is almost always bad spreadsheet
design. You're far better off to use Excel's formatting capabilities (row
height, etc.).

Regards,
Fred.

"Kathie" wrote in message
...
My sheet has a VLOOKUP set up to fill in name and Biller when client
number
is entered. We use this to post checks daily with amount and invoice
number.
I want to run a Macro to sort by Biller, Client number and invoice #.
When
I created and ran it, it puts all blank rows first the rows with data.
How
can I get it to run only on cells with data, based on values?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.