Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Working with data from several worksheets

I have a file containing several woksheets. Each worksheet pertains to a
specific aspect of healthcare (Doctor, Insurance, Pharmacy, etc.). There is
one final worksheet that is nothing more than a summary...which re-displays
the grand totals of each worksheet within this file. Here is the problem: I
have a column that names the family member who the item pertains to, and on
the summary worksheet I would like to gather the grand total for all
worksheets for each family member. It happens to be that all worksheets in
this fil has column "E" as the column that lists the name of the family
member.

The family members are not each on their own ror or column. Here is how i
have it:
Each row is listed in order by date. The five colums are in this order:
Date, Company Rendering Service, Amount Paid, Method of Payment, Family
Member the service was for. My file has one sheet for doctor_dentist, one for
hospital_lab, one for insurance, and one for pharmacy. There is a final sheet
that brings together the grand total of all the sheets, and I have no trouble
with that. My trouble is that I want to total each family member's lines from
all the four sheets. Can I do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Working with data from several worksheets

It can be done with sumproduct formulas. Here is an example with 2 sheets
instead of 4. The sheets are called doctor and insurance, being totaled on a
sheet called summary. I place the patient name in cell A2 on the summary
sheet.

=SUMPRODUCT((Doctor!$E$2:$E$65536=Summary!A2)*Doct or!$C$2:$C$65536)+SUMPRODUCT((Insurance!$E$2:$E$65 536=Summary!A2)*Insurance!$C$2:$C$65536)

--
HTH...

Jim Thomlinson


"Jason Cohen" wrote:

I have a file containing several woksheets. Each worksheet pertains to a
specific aspect of healthcare (Doctor, Insurance, Pharmacy, etc.). There is
one final worksheet that is nothing more than a summary...which re-displays
the grand totals of each worksheet within this file. Here is the problem: I
have a column that names the family member who the item pertains to, and on
the summary worksheet I would like to gather the grand total for all
worksheets for each family member. It happens to be that all worksheets in
this fil has column "E" as the column that lists the name of the family
member.

The family members are not each on their own ror or column. Here is how i
have it:
Each row is listed in order by date. The five colums are in this order:
Date, Company Rendering Service, Amount Paid, Method of Payment, Family
Member the service was for. My file has one sheet for doctor_dentist, one for
hospital_lab, one for insurance, and one for pharmacy. There is a final sheet
that brings together the grand total of all the sheets, and I have no trouble
with that. My trouble is that I want to total each family member's lines from
all the four sheets. Can I do this?

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 working between two worksheets MelSmith Excel Worksheet Functions 5 January 29th 09 12:28 PM
Working Between Worksheets jrk7520 Excel Discussion (Misc queries) 3 June 28th 08 12:17 AM
Working with data from two worksheets Nithya Excel Worksheet Functions 1 November 20th 06 05:42 PM
working with data between worksheets steve Excel Discussion (Misc queries) 1 August 10th 05 01:16 PM
working with data from several worksheets. Jason Cohen Excel Programming 2 June 22nd 05 05:42 PM


All times are GMT +1. The time now is 11:26 PM.

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"