#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 334
Default sumproduct or sumif

The situation is this:

On tab 1 I have columns [A] Month, [b] Cost, [D] Amount

On Tab 2 I have columns [A] Cost, [B-M] Month 1, 2, 3, 4 etc.

On Tab 2 I have listed the cost types and want to total them going across by
month.

So I want add the costs on Tab 1 column [D], when the cost [A] and month [b]
on Tab 2 equals that on Tab 1 [b] and [A] respectively.

I have tried the below Sumif and Sumproduct as array formulas but neither
gives the correct answer.

{=SUMIF('Variable'!$D$429:$D$599,AND($A51='Variabl e'!$B$429:$B$599,TEXT(B$2,"mmmm-yy")='Variable'!$A$429:$A$599))}

{=SUMPRODUCT((AND($A51='Variable'!$B$429:$B$599,B$ 2='Variable'!$A$429:$A$599))*('Variable'!$D$429:$D $599))}

Any help would be appreciated.

Thanks
Rick
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 334
Default sumproduct or sumif

I have solved my problem it was a date formatting issue.
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 OR SUMPRODUCT?? MDI Anne Excel Worksheet Functions 3 June 5th 08 09:59 PM
sumif-sumproduct yshridhar Excel Worksheet Functions 6 September 13th 07 06:02 AM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
Sumif or Sumproduct Steve Excel Worksheet Functions 1 February 4th 06 08:43 PM
SUMPRODUCT or SUMIF or ... nfbelo Excel Worksheet Functions 4 May 24th 05 06:34 PM


All times are GMT +1. The time now is 09:52 AM.

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"