Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave Davis
 
Posts: n/a
Default Another Sumproduct & #N/A problem

I have a budget worksheet in which I keep all my spending records, eg on
Sheet 1:
A B C D
Date Amount Category Month
1 1/1/5 20.00 Dining Jan
2 2/1/5 25.00 Telephone Jan
3 3/1/5 30.00 Petrol Jan
4 4/1/5 15.00 Dining Jan

I am using sumproduct to keep a running total on Sheet 2, of my spend
against each category, for example to return the total for "Dining":
=SUMPRODUCT((Sheet1!c2:c4=Sheet2!b2)*(Sheet1!d2:d4 =Sheet2!a2)
*(Sheet1!b2:b4)
A B C D
Jan Feb Mar
1 Dining 35.00 0.00 0.00
2 Telephone 25.00 0.00 0.00
3 Petrol 30.00 0.00 0.00


The problem is that as soon as the ranges checked by SUMPRODUCT contain a
blank cell, it returns #N/A. I would obviously rather have SUMPRODUCT refer
to the whole column, e.g. Sheet1!c:c: so I can carry on entering new data in
Sheet1 without having to amend the ranges in the formula every time. Can
someone assist please?

Rgds
Dave
  #4   Report Post  
Dave Davis
 
Posts: n/a
Default

Many thanks, I'll try that a report back! (By the way, the cells are
definitely blank, they are unused cells so far....)
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
Problem with sumproduct and month=1 bobh727 Excel Worksheet Functions 6 February 15th 05 07:13 AM
SUMPRODUCT Problem Mestrella31 Excel Discussion (Misc queries) 2 December 21st 04 07:01 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM
SUMPRODUCT problem Jane Excel Worksheet Functions 3 November 8th 04 11:58 PM


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