Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Adding a range with three variables

I have a spreadsheet that has site, job title and FTE. I want to add the FTE
by site and job title. I use for two variables the sumif function but can not
get it to work with three. For example,

Site Job Title FTE
Beaverton NP 1.0
Beaverton RN 0.8
Hillsboro NP 0.8
Hillsboro RN 1.0
etc.

This list is longer that this but I need to add the total of FTE for a
person who is a NP and works in Beaverton. Can someone help. Thanks.

I have Excel 2003.
--
Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Adding a range with three variables

need to add the total of FTE for a person
who is a NP and works in Beaverton


Try Sumproduct for multi-criteria, eg:
=sumproduct((a2:a100="Beaverton")*(b2:b100="NP"),c 2:c100)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:16,200 Files:354 Subscribers:53
xdemechanik
---
"Saul" wrote:
I have a spreadsheet that has site, job title and FTE. I want to add the FTE
by site and job title. I use for two variables the sumif function but can not
get it to work with three. For example,

Site Job Title FTE
Beaverton NP 1.0
Beaverton RN 0.8
Hillsboro NP 0.8
Hillsboro RN 1.0
etc.

This list is longer that this but I need to add the total of FTE for a
person who is a NP and works in Beaverton. Can someone help. Thanks.

I have Excel 2003.
--
Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Adding a range with three variables

Thanks Max. It did work.
--
Thank you.


"Max" wrote:

need to add the total of FTE for a person
who is a NP and works in Beaverton


Try Sumproduct for multi-criteria, eg:
=sumproduct((a2:a100="Beaverton")*(b2:b100="NP"),c 2:c100)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:16,200 Files:354 Subscribers:53
xdemechanik
---
"Saul" wrote:
I have a spreadsheet that has site, job title and FTE. I want to add the FTE
by site and job title. I use for two variables the sumif function but can not
get it to work with three. For example,

Site Job Title FTE
Beaverton NP 1.0
Beaverton RN 0.8
Hillsboro NP 0.8
Hillsboro RN 1.0
etc.

This list is longer that this but I need to add the total of FTE for a
person who is a NP and works in Beaverton. Can someone help. Thanks.

I have Excel 2003.
--
Thank you.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Adding a range with three variables

Welcome, Saul. Do try out Dave's pivot response as well. Always good to know
of the different options available.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads: 16,200, Files: 354, Subscribers: 53
xdemechanik
---
"Saul" wrote in message
...
Thanks Max. It did work.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Adding a range with three variables

You may want to learn about pivottables.

You could select the range (with a single row of headers in row 1)
Select A1:C5
Data|pivottable and pivot chart report
Follow the wizard until you get to step 3
Click the layout button
Drag the site header to the row field
drag the job title to the column field
drag the FTE header to the data field.
If it doesn't say "sum of", just right click on it and choose sum.

And finish up the wizard.

You'll end up with a summary report like:

Sum of FTE Job Title
Site NP RN Grand Total
Beaverton 1 0.8 1.8
Hillsboro 0.8 1 1.8
Grand Total 1.8 1.8 3.6

If you've never used pivottables, here are a few links:

Debra Dalgleish's pictures at Jon Peltier's site:
http://peltiertech.com/Excel/Pivots/pivottables.htm
And Debra's own site:
http://www.contextures.com/xlPivot01.html

John Walkenbach also has some at:
http://j-walk.com/ss/excel/files/general.htm
(look for Tony Gwynn's Hit Database)

Chip Pearson keeps Harald Staff's notes at:
http://www.cpearson.com/excel/pivots.htm

MS has some at (xl2000 and xl2002):
http://office.microsoft.com/downloads/2000/XCrtPiv.aspx
http://office.microsoft.com/assistan...lconPT101.aspx




Saul wrote:

I have a spreadsheet that has site, job title and FTE. I want to add the FTE
by site and job title. I use for two variables the sumif function but can not
get it to work with three. For example,

Site Job Title FTE
Beaverton NP 1.0
Beaverton RN 0.8
Hillsboro NP 0.8
Hillsboro RN 1.0
etc.

This list is longer that this but I need to add the total of FTE for a
person who is a NP and works in Beaverton. Can someone help. Thanks.

I have Excel 2003.
--
Thank you.


--

Dave Peterson


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
Adding all the variables wwtrader Excel Discussion (Misc queries) 3 November 2nd 07 03:42 AM
Adding in a range with multiple variables EG Excel Discussion (Misc queries) 2 April 23rd 07 10:38 PM
adding a number to variables Breinn Excel Discussion (Misc queries) 1 October 12th 05 06:23 PM
Add up a Dynamic Range with 2 Variables John Excel Worksheet Functions 2 January 15th 05 05:03 PM
Add up a Dynamic Range with 2 Variables John Excel Worksheet Functions 0 January 15th 05 02:00 PM


All times are GMT +1. The time now is 06:57 PM.

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"