Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jenn
 
Posts: n/a
Default show if more than one line of data

I have a list of patients and their services. Patients(A) and their
number(B) are listed in Red. If the patient had services then the service
data appears below their name in black (name=name, column A) and the service
code (C)...
so if A1=A2 then delete that section (rows). Can have 1 to 50 lines of
services... or none. Its the none that only appear with the 1 red line and
their number that I want to pull out a little quicker.

I already ran a macro that adds a blank line every time the name changes....
so there is a blank line between patients.....
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

I'd remove all the blank rows in the table, so the list is easier to
work with.

Then, add another column (e.g. Service) to the table, in which you
calculate the number of rows for each patient.

For example, with names in column A, enter the following formula in the
Service column:

=COUNTIF(A:A,A2)1

Copy the formula down to all rows of data

Select a cell in the table, and choose DataFilterAutoFilter
From the dropdown in the Service column heading, choose FALSE


jenn wrote:
I have a list of patients and their services. Patients(A) and their
number(B) are listed in Red. If the patient had services then the service
data appears below their name in black (name=name, column A) and the service
code (C)...
so if A1=A2 then delete that section (rows). Can have 1 to 50 lines of
services... or none. Its the none that only appear with the 1 red line and
their number that I want to pull out a little quicker.

I already ran a macro that adds a blank line every time the name changes....
so there is a blank line between patients.....



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Help with data not getting plotted Scott Ehrlich Excel Discussion (Misc queries) 2 January 25th 05 05:17 AM
Help with data not getting plotted Scott Ehrlich Charts and Charting in Excel 1 January 23rd 05 05:15 PM
How do I "index" data in a line graph? ShirleyJL Charts and Charting in Excel 2 January 10th 05 10:06 PM
HOW DO I HIDE DATA AND SHOW A PLUS SIGN THAT I HAVE HIDDEN DATA H. tory Excel Discussion (Misc queries) 1 December 27th 04 09:54 PM
Pivot Table - Group by Month - Show Items with no data Dan Reynolds Excel Discussion (Misc queries) 0 November 28th 04 01:01 AM


All times are GMT +1. The time now is 07:34 AM.

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

About Us

"It's about Microsoft Excel"