#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Excel Beginner,

Hi Everyone,

Im hoping someone can help me, I am creating a workbook to record amounts
collected by supplier, and need to have a column for the state of origin,
delivery site, and product type for other reports and pivot tables to run off.

But i want to "sumif" based of two criteria, ie sum the cells if col D = on
site and, col E = a certain product type. can i do this without having to
enter in more columns. It seems like it should be something i am able to
do...is it possible?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 461
Default Excel Beginner,

You'll have to use SUMPRODUCT() to do that. For Example... use 2 seperate
cells to type in the data you want it to match. So type a certain product
type in one cell and on site in another cell. Then in the cell you want the
value to pop up type.

=SUMPRODUCT((D1:D50=CellVal1)*(E1:E50=CellVal2)*(R ange you want to sum))

This has to be enter by holding down CTRL + SHIFT + ENTER

FYI- Creating cell references like CellVal1 is a lot easier then typing in
the name. This way you can just change the cell or create a field of
different requirements and just copy and paste the formulas down. So
CellVal1 you would type in the cell that has the first requirement you want
to be met, so on with CellVal2.

"TSNS" wrote:

Hi Everyone,

Im hoping someone can help me, I am creating a workbook to record amounts
collected by supplier, and need to have a column for the state of origin,
delivery site, and product type for other reports and pivot tables to run off.

But i want to "sumif" based of two criteria, ie sum the cells if col D = on
site and, col E = a certain product type. can i do this without having to
enter in more columns. It seems like it should be something i am able to
do...is it possible?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Excel Beginner,

You don't need "ctrl+shift+enter" with SUMPRODUCT, just hit "enter" will do
the job.


"AKphidelt" wrote:

You'll have to use SUMPRODUCT() to do that. For Example... use 2 seperate
cells to type in the data you want it to match. So type a certain product
type in one cell and on site in another cell. Then in the cell you want the
value to pop up type.

=SUMPRODUCT((D1:D50=CellVal1)*(E1:E50=CellVal2)*(R ange you want to sum))

This has to be enter by holding down CTRL + SHIFT + ENTER

FYI- Creating cell references like CellVal1 is a lot easier then typing in
the name. This way you can just change the cell or create a field of
different requirements and just copy and paste the formulas down. So
CellVal1 you would type in the cell that has the first requirement you want
to be met, so on with CellVal2.

"TSNS" wrote:

Hi Everyone,

Im hoping someone can help me, I am creating a workbook to record amounts
collected by supplier, and need to have a column for the state of origin,
delivery site, and product type for other reports and pivot tables to run off.

But i want to "sumif" based of two criteria, ie sum the cells if col D = on
site and, col E = a certain product type. can i do this without having to
enter in more columns. It seems like it should be something i am able to
do...is it possible?

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Excel Beginner,

Awesome!!! Thanks Guys!!! that works a treat!

"Teethless mama" wrote:

You don't need "ctrl+shift+enter" with SUMPRODUCT, just hit "enter" will do
the job.


"AKphidelt" wrote:

You'll have to use SUMPRODUCT() to do that. For Example... use 2 seperate
cells to type in the data you want it to match. So type a certain product
type in one cell and on site in another cell. Then in the cell you want the
value to pop up type.

=SUMPRODUCT((D1:D50=CellVal1)*(E1:E50=CellVal2)*(R ange you want to sum))

This has to be enter by holding down CTRL + SHIFT + ENTER

FYI- Creating cell references like CellVal1 is a lot easier then typing in
the name. This way you can just change the cell or create a field of
different requirements and just copy and paste the formulas down. So
CellVal1 you would type in the cell that has the first requirement you want
to be met, so on with CellVal2.

"TSNS" wrote:

Hi Everyone,

Im hoping someone can help me, I am creating a workbook to record amounts
collected by supplier, and need to have a column for the state of origin,
delivery site, and product type for other reports and pivot tables to run off.

But i want to "sumif" based of two criteria, ie sum the cells if col D = on
site and, col E = a certain product type. can i do this without having to
enter in more columns. It seems like it should be something i am able to
do...is it possible?

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
Beginner with Excel He Need Help with Cell Formatting Function ljh3rdid Excel Worksheet Functions 2 April 27th 06 10:13 PM
Beginner question Tom. Excel Discussion (Misc queries) 1 April 24th 06 06:08 AM
Macro for a beginner Masha Excel Discussion (Misc queries) 2 February 14th 06 06:42 AM
Confused beginner sarahog Excel Worksheet Functions 6 November 7th 05 11:19 AM
EXCEL-Beginner SMART Links and Linking in Excel 1 July 21st 05 10:08 AM


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