Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I wish to sum all data in Sheet2 Column J, if the value in Sheet2
Column B = The value in Sheet1 Column A I've tried =SUMPRODUCT(PC_Month_Locations=A8,PC_Month) Named Ranges above used instead of absolute references |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If your ranges are defined correctly:
=sumif(pc_month_locations,a8,pc_month) If you wanted to use =sumproduct(): =SUMPRODUCT(--(PC_Month_Locations=A8),PC_Month) Adjust the ranges to match--but you can't use whole columns (except in xl2007+). =sumproduct() likes to work with numbers. The -- stuff changes trues and falses to 1's and 0's. Bob Phillips explains =sumproduct() in much more detail he http://www.xldynamic.com/source/xld.SUMPRODUCT.html And J.E. McGimpsey has some notes at: http://mcgimpsey.com/excel/formulae/doubleneg.html Seanie wrote: I wish to sum all data in Sheet2 Column J, if the value in Sheet2 Column B = The value in Sheet1 Column A I've tried =SUMPRODUCT(PC_Month_Locations=A8,PC_Month) Named Ranges above used instead of absolute references -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Bingo, works great, Thanks
|
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMIF(PC_Month_Locations,A8,PC_Month)
"Seanie" wrote: I wish to sum all data in Sheet2 Column J, if the value in Sheet2 Column B = The value in Sheet1 Column A I've tried =SUMPRODUCT(PC_Month_Locations=A8,PC_Month) Named Ranges above used instead of absolute references . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Plotting multiple Y column data versus single X column in Excel 20 | Charts and Charting in Excel | |||
How do I sort data in column B to align with data in column A? | New Users to Excel | |||
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look | Excel Discussion (Misc queries) | |||
counting data in one column and match with data in another column | Excel Discussion (Misc queries) | |||
Matching one column against another column of data to show the same amount of data. | Excel Worksheet Functions |