LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Sumproduct With Dates & Text In Same Column

I have one column that has my tank numbers and my other column has the
dates entered for when tanks are opened. This formula works fine
counting the matching tanks with the amount of cells that have a date
entered (cells that are not blank):

=SUMPRODUCT((ISNUMBER(SEARCH("-J",A9:A1611)))*(AA9:AA1611<""))

What I need for my other column is a sumproduct formula that can
determine the difference between a date and a text. The previous
formula only will have a date or have a blank cell. This new column
will have a date or a text.
I have tried the following, but it either counts the text & date or
neither:

=SUMPRODUCT((ISNUMBER(SEARCH("-J",A9:A1611)))*(P9:P1611DATE(2004,1,1)))
=SUMPRODUCT((ISNUMBER(SEARCH("-J",A9:A1611)))*(YEAR(P9:P1611)=2005))
=SUMPRODUCT((ISNUMBER(SEARCH("-J",A9:A1611)))*(P9:P16111))

The problem I'm sure is with the second part.
Any help would be greatly appreciated.

 
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
sumproduct text and numbers same column Babylynn Excel Discussion (Misc queries) 2 April 22nd 09 06:14 AM
2 criteria lookup of text. Return text form column 3. SUMPRODUCT t zzxxcc Excel Worksheet Functions 2 August 26th 08 11:04 PM
SUMPRODUCT with TEXT and dates Joe Gieder Excel Worksheet Functions 4 June 8th 07 07:04 PM
SUMPRODUCT with TEXT and dates Joe Gieder Excel Worksheet Functions 1 June 6th 07 09:42 PM
Receive #VALUE! when I mix text with dates using SUMPRODUCT Rick Excel Worksheet Functions 6 March 29th 06 10:15 PM


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