Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default sumif and complex sum_range formulae

I have Excel 2003 and need to calculate a complex sum_range total within a
sumif function.

My data is as follows:
Col A = 1 of 4 possible text values (in cells A41:A64)
Col D = fraction to be applied in cells D41:D64
Col F = amount to have the fraction applied to in cells F41:F64

The calculation I require is:
If column A in the cell range = "OTH" then sum up F*D for the relevant rows

I have tried =SUMIF(A41:A64,"OTH",(F41:F64)*(D41:D64)) but it did not work.

What formula or formulae should I use?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default sumif and complex sum_range formulae

try this

=SUMPRODUCT((A41:A64="oth")*(F41:F64)*(D41:D64))

On Feb 3, 1:16*pm, caro wrote:
I have Excel 2003 and need to calculate a complex sum_range total within a
sumif function.

My data is as follows:
Col A = 1 of 4 possible text values (in cells A41:A64)
Col D = fraction to be applied in cells D41:D64
Col F = amount to have the fraction applied to in cells F41:F64

The calculation I require is:
If column A in the cell range = "OTH" then sum up F*D for the relevant rows

I have tried =SUMIF(A41:A64,"OTH",(F41:F64)*(D41:D64)) but it did not work.

What formula or formulae should I use?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default sumif and complex sum_range formulae

Thank you. This has worked perfectly.

"muddan madhu" wrote:

try this

=SUMPRODUCT((A41:A64="oth")*(F41:F64)*(D41:D64))

On Feb 3, 1:16 pm, caro wrote:
I have Excel 2003 and need to calculate a complex sum_range total within a
sumif function.

My data is as follows:
Col A = 1 of 4 possible text values (in cells A41:A64)
Col D = fraction to be applied in cells D41:D64
Col F = amount to have the fraction applied to in cells F41:F64

The calculation I require is:
If column A in the cell range = "OTH" then sum up F*D for the relevant rows

I have tried =SUMIF(A41:A64,"OTH",(F41:F64)*(D41:D64)) but it did not work.

What formula or formulae should I use?



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
Sumif with multiple columns in sum_range dza7 Excel Discussion (Misc queries) 17 March 28th 08 07:25 PM
Sumif with multiple columns in sum_range dza7 Excel Worksheet Functions 17 March 28th 08 07:25 PM
SUMIF - Sum_Range is misleading Epinn Excel Worksheet Functions 3 October 29th 06 08:53 AM
SUMIF with the Sum_range across several colums D Excel Worksheet Functions 7 September 25th 06 04:00 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


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