LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default Adding values for selected years

Hi David
My apologies.
Because I was copying and pasting from your formula with the AND in it,
I inadvertently left a stray ")" in there after the B range
It should be
=SUMPRODUCT(--($B$7:$B$10070=1770),
--(YEAR($E$7:$E$10070)=2006),
$H$7:$H$10070)

I have deliberately split the formula after the commas, to try to avoid
any funny wraps in posting.

--
Regards

Roger Govier


"OSDavidL" wrote
in message ...

Roger,

Thanks, it looks Ok but I get a "formula contains an error" message
with the last H10070 highlighted. Your logic looks good but I can't
see
why it does not work. Any suggestions?

Rgs

David


--
OSDavidL
------------------------------------------------------------------------
OSDavidL's Profile:
http://www.excelforum.com/member.php...o&userid=31305
View this thread:
http://www.excelforum.com/showthread...hreadid=509961



 
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
Adding Values from Formulas gish Excel Discussion (Misc queries) 10 January 20th 06 07:15 PM
How do I copy cell values (derived from formula), not references? Matt in a spot of bother Excel Worksheet Functions 4 July 28th 05 08:09 AM
Adding values from several worksheets - would appreciate the help Greegan Excel Worksheet Functions 0 July 26th 05 11:29 PM
Adding values from one worksheet to another Richard Thorneycroft Excel Worksheet Functions 0 February 22nd 05 04:07 PM
Second serie doesn't use X-as values JackRnl Charts and Charting in Excel 1 January 20th 05 01:04 AM


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