#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default sorting problem.

For instance:

Company XX 10% A owes 5.1 Loan A
20% B owes Loan B
30% C owes

Company YY 60% A owes 4.1 Loan A
10% B owes Loan B
20% C owes

when i sort the data, say like Column A (by company), when I choose "Company
XX", only the first row appears of Company XX appears, as follows

" Company XX 10% A owes 5.1 Loan A "


Can i set anything so that, when i sort the data, all information about
company XX will appear?

My desired result is

"Company XX 10% A owes 5.1 Loan A
20% B owes Loan B
30% C owes "

Thanks



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default sorting problem.

If you are sorting in column A, that has company XX only on 1 row, it is NOT
showing any row that does NOT have the value of Company XX in the cell.
Therefore, rows 2 & 3 will not show when you filter, because they are blank
in column A.

If you like the aesthetic of the 2 'blank' cells, you could always use the
conditional formatting to 'white out' the text as needed. In other words, go
ahead and type the company names 3 times (or however many) for each set of
data, then, assuming your data set of company names starts in row 2,
highlight from A2 through to however far you need, go to menu
Format--Condtional Formatting. Change the drop down box to Formula Is, and
type the following formula:
=COUNTIF(A$1:A1,A2)0
Click on your Format button, then change the font to 'white', so that when
the value is true, it will change the font to white in column A.

Sort to your hearts content.

--
John C


"angel" wrote:

For instance:

Company XX 10% A owes 5.1 Loan A
20% B owes Loan B
30% C owes

Company YY 60% A owes 4.1 Loan A
10% B owes Loan B
20% C owes

when i sort the data, say like Column A (by company), when I choose "Company
XX", only the first row appears of Company XX appears, as follows

" Company XX 10% A owes 5.1 Loan A "


Can i set anything so that, when i sort the data, all information about
company XX will appear?

My desired result is

"Company XX 10% A owes 5.1 Loan A
20% B owes Loan B
30% C owes "

Thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting VBA problem wynand Excel Discussion (Misc queries) 6 February 7th 08 06:38 PM
Problem with sorting Panos Excel Discussion (Misc queries) 2 October 10th 07 12:15 PM
sorting problem [email protected] Excel Discussion (Misc queries) 2 April 12th 07 06:01 PM
Sorting problem . . . Hubitron2000 Excel Discussion (Misc queries) 1 March 20th 06 08:40 PM
Sorting problem Kal321 Excel Discussion (Misc queries) 2 January 27th 06 01:27 PM


All times are GMT +1. The time now is 04:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"