Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 15
Default SUMPRODUCT to exclude text column header

I'm having trouble with the following SUMPRODUCT formula:


=SUMPRODUCT((B:B=Q3)*(F:O))

The problem is that column F has a text header in cell F2 titled "Initial Value." The rest of the columns have mm/dd/yyyy headers, so SUMPRODUCT works fine there.

Of course, the simplest solution is to just delete the text header in column F, and the formula works fine, but I'm stubborn and want my headers the way I want them.

Does anyone know of a way to get SUMPRODUCT to ignore the text header in cell F2?

Thanks!
Steve
  #2   Report Post  
Junior Member
 
Posts: 15
Default

In case there's anyone out there thinking about this problem, or who is interested in the answer, I figured it out!

=SUM(IF(B:B=Q3,F:O))

This formula does exactly what the first one did, but allows for text headers, ONLY IF ctrl+shift+enter is used when inputting the formula, not just enter.

Thanks to anyone who tried figuring this one out.
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
Exclude header row when copying autofilter results? (XL2003) ker_01 Excel Programming 1 January 19th 10 12:09 AM
SUMPRODUCT - Count Various criteria in same column (exclude other) EricB Excel Worksheet Functions 8 September 5th 08 07:44 AM
Return column number from column header text Roger[_3_] Excel Discussion (Misc queries) 4 February 14th 08 09:40 PM
Exclude Header from Range? nastech Excel Discussion (Misc queries) 4 December 30th 05 02:49 PM
How to exclude header row from sort button sorts? JCabo Excel Discussion (Misc queries) 1 March 25th 05 11:25 PM


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