#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Names in 2 Columns

I have a list of referring md's for a 2 yr period. In Col A ref md (2005)
Col B #of referrals, Col C ref md (2006) Col D #of Referrals. What i would
like to do is to combine Col A & C and sum B & D. The issue is that Col A & C
do not contain the same doctors. If Col A & C were the same then it would be
sum b & D.

Thanks

Brad
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Names in 2 Columns

Not sure how your speadsheet is laid out. Each doctor should have his own row

Not
A B C D
Dr. A Dr. A
Dr. B Dr. C
Dr. D Dr. D


Should Be
A B C D
Dr. A Dr. A
Dr. B
Dr. C
Dr. D Dr. D

Leave Blanks if Dr. didn't give referels for certain years. Then the sum
would work properly.

"alyzar" wrote:

I have a list of referring md's for a 2 yr period. In Col A ref md (2005)
Col B #of referrals, Col C ref md (2006) Col D #of Referrals. What i would
like to do is to combine Col A & C and sum B & D. The issue is that Col A & C
do not contain the same doctors. If Col A & C were the same then it would be
sum b & D.

Thanks

Brad

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Names in 2 Columns

Joel,

The problem is that "col a" and "col c" dont match up. There are more ref
md's in 2006 then 2005. Is there an easier way of combining "a &c" other
than inserting rows to make the name macth up? Hope this is clear for you
Thanks
Brad



"Joel" wrote:

Not sure how your speadsheet is laid out. Each doctor should have his own row

Not
A B C D
Dr. A Dr. A
Dr. B Dr. C
Dr. D Dr. D


Should Be
A B C D
Dr. A Dr. A
Dr. B
Dr. C
Dr. D Dr. D

Leave Blanks if Dr. didn't give referels for certain years. Then the sum
would work properly.

"alyzar" wrote:

I have a list of referring md's for a 2 yr period. In Col A ref md (2005)
Col B #of referrals, Col C ref md (2006) Col D #of Referrals. What i would
like to do is to combine Col A & C and sum B & D. The issue is that Col A & C
do not contain the same doctors. If Col A & C were the same then it would be
sum b & D.

Thanks

Brad

  #4   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Names in 2 Columns

one method might be to insert a new column c and column F
in Cell C1
=countif(A:A,A1,B:B)+Countif(D:D,A1,E:E)
and in F1 enter
=countif(A:A,D1,B:B++countif(D:D,D1,E:E)

and copy C1 and F1 down as far as you want

"alyzar" wrote:

I have a list of referring md's for a 2 yr period. In Col A ref md (2005)
Col B #of referrals, Col C ref md (2006) Col D #of Referrals. What i would
like to do is to combine Col A & C and sum B & D. The issue is that Col A & C
do not contain the same doctors. If Col A & C were the same then it would be
sum b & D.

Thanks

Brad

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Names in 2 Columns

How difficult would it be to make the Drs in A & C allign. Script could be
written to get them to allign.

"alyzar" wrote:

Joel,

The problem is that "col a" and "col c" dont match up. There are more ref
md's in 2006 then 2005. Is there an easier way of combining "a &c" other
than inserting rows to make the name macth up? Hope this is clear for you
Thanks
Brad



"Joel" wrote:

Not sure how your speadsheet is laid out. Each doctor should have his own row

Not
A B C D
Dr. A Dr. A
Dr. B Dr. C
Dr. D Dr. D


Should Be
A B C D
Dr. A Dr. A
Dr. B
Dr. C
Dr. D Dr. D

Leave Blanks if Dr. didn't give referels for certain years. Then the sum
would work properly.

"alyzar" wrote:

I have a list of referring md's for a 2 yr period. In Col A ref md (2005)
Col B #of referrals, Col C ref md (2006) Col D #of Referrals. What i would
like to do is to combine Col A & C and sum B & D. The issue is that Col A & C
do not contain the same doctors. If Col A & C were the same then it would be
sum b & D.

Thanks

Brad

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
Matching names in two columns [email protected] Excel Discussion (Misc queries) 2 March 29th 07 05:01 AM
match names in 2 different columns Mike Excel Discussion (Misc queries) 6 May 26th 06 03:46 PM
Have 2 columns of names - need to filter out names not duplicated Jill Excel Worksheet Functions 6 January 20th 06 08:01 PM
Separate names into 2 columns? Ltat42a Excel Discussion (Misc queries) 8 December 11th 05 09:06 PM
How can I find the common names in two columns of names? hako Excel Discussion (Misc queries) 2 December 8th 04 01:59 AM


All times are GMT +1. The time now is 05:23 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"