Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Search function needed (sumproduct?)

I'm using the following in another cell which works fine.
=SUMPRODUCT (($A$4:$A$300=36)*($B$4:$B$300="SALE")*($G$4:$G$30 0="Rob"))

I'm trying to create another formula where column A has group numbers,
column C has dates, column X has costs...I need to sum all cost where columns
A & C are true. How do I handle dates with this formula.

Thanks in advance

C.




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Search function needed (sumproduct?)

One way:

=SUMPRODUCT(--(A1:A300=gr_num),--(C1:C300=DATE(2007,04,19)),X1:X300)

In article ,
Charlie7805 wrote:

I'm using the following in another cell which works fine.
=SUMPRODUCT (($A$4:$A$300=36)*($B$4:$B$300="SALE")*($G$4:$G$30 0="Rob"))

I'm trying to create another formula where column A has group numbers,
column C has dates, column X has costs...I need to sum all cost where columns
A & C are true. How do I handle dates with this formula.

Thanks in advance

C.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Search function needed (sumproduct?)

Oops, forgot something
=Sumproduct(--(isnumber($A$4:$A$300)),(isnumber($C$4:C$400)),($X $4:$X$400))

"Charlie7805" wrote:

I'm using the following in another cell which works fine.
=SUMPRODUCT (($A$4:$A$300=36)*($B$4:$B$300="SALE")*($G$4:$G$30 0="Rob"))

I'm trying to create another formula where column A has group numbers,
column C has dates, column X has costs...I need to sum all cost where columns
A & C are true. How do I handle dates with this formula.

Thanks in advance

C.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Search function needed (sumproduct?)

How do you determing that A has a group number vs. something else,and that C
has a date. I'll give you one sumproduct, but I'm not sure it's what you
want. I'm assuming that "has a group #" means that there is a number in the
cell. Same with "has a date"


=SUMPRODUCT(--(isnumber($A$4:$A$300),--($C$4:$C$300),($X$4:$X$300))

"Charlie7805" wrote:

I'm using the following in another cell which works fine.
=SUMPRODUCT (($A$4:$A$300=36)*($B$4:$B$300="SALE")*($G$4:$G$30 0="Rob"))

I'm trying to create another formula where column A has group numbers,
column C has dates, column X has costs...I need to sum all cost where columns
A & C are true. How do I handle dates with this formula.

Thanks in advance

C.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Search function needed (sumproduct?)

I need to explain further... The date search is for all day in a specific
month as opposed to a specific date. (ie - find all dates in Jan 07)

"JE McGimpsey" wrote:

One way:

=SUMPRODUCT(--(A1:A300=gr_num),--(C1:C300=DATE(2007,04,19)),X1:X300)

In article ,
Charlie7805 wrote:

I'm using the following in another cell which works fine.
=SUMPRODUCT (($A$4:$A$300=36)*($B$4:$B$300="SALE")*($G$4:$G$30 0="Rob"))

I'm trying to create another formula where column A has group numbers,
column C has dates, column X has costs...I need to sum all cost where columns
A & C are true. How do I handle dates with this formula.

Thanks in advance

C.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Search function needed (sumproduct?)

Try this:

=SUMPRODUCT(--(A1:A300=gr_num),--(TEXT(C1:C300,"mmmyyyy")="Jan2007"),X1:X300)

Biff

"Charlie7805" wrote in message
...
I need to explain further... The date search is for all day in a specific
month as opposed to a specific date. (ie - find all dates in Jan 07)

"JE McGimpsey" wrote:

One way:

=SUMPRODUCT(--(A1:A300=gr_num),--(C1:C300=DATE(2007,04,19)),X1:X300)

In article ,
Charlie7805 wrote:

I'm using the following in another cell which works fine.
=SUMPRODUCT (($A$4:$A$300=36)*($B$4:$B$300="SALE")*($G$4:$G$30 0="Rob"))

I'm trying to create another formula where column A has group numbers,
column C has dates, column X has costs...I need to sum all cost where
columns
A & C are true. How do I handle dates with this formula.

Thanks in advance

C.




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Search function needed (sumproduct?)

SUMPRODUCT(--($A$4:$A$300=36),--(TEXT($C$C4:$C$300,"mmm-07")="Jan-07"),$X$4:$X$300)


"Charlie7805" wrote:

I need to explain further... The date search is for all day in a specific
month as opposed to a specific date. (ie - find all dates in Jan 07)

"JE McGimpsey" wrote:

One way:

=SUMPRODUCT(--(A1:A300=gr_num),--(C1:C300=DATE(2007,04,19)),X1:X300)

In article ,
Charlie7805 wrote:

I'm using the following in another cell which works fine.
=SUMPRODUCT (($A$4:$A$300=36)*($B$4:$B$300="SALE")*($G$4:$G$30 0="Rob"))

I'm trying to create another formula where column A has group numbers,
column C has dates, column X has costs...I need to sum all cost where columns
A & C are true. How do I handle dates with this formula.

Thanks in advance

C.


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Search function needed (sumproduct?)

You obviously didn't test that formula.

Quality trumps quantity!

Biff

"Teethless mama" wrote in message
...
SUMPRODUCT(--($A$4:$A$300=36),--(TEXT($C$C4:$C$300,"mmm-07")="Jan-07"),$X$4:$X$300)


"Charlie7805" wrote:

I need to explain further... The date search is for all day in a specific
month as opposed to a specific date. (ie - find all dates in Jan 07)

"JE McGimpsey" wrote:

One way:


=SUMPRODUCT(--(A1:A300=gr_num),--(C1:C300=DATE(2007,04,19)),X1:X300)

In article ,
Charlie7805 wrote:

I'm using the following in another cell which works fine.
=SUMPRODUCT
(($A$4:$A$300=36)*($B$4:$B$300="SALE")*($G$4:$G$30 0="Rob"))

I'm trying to create another formula where column A has group
numbers,
column C has dates, column X has costs...I need to sum all cost where
columns
A & C are true. How do I handle dates with this formula.

Thanks in advance

C.



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
IF and SUMPRODUCT help needed George Excel Discussion (Misc queries) 4 November 20th 06 07:20 PM
Min/Max help needed with a SumProduct JR Excel Worksheet Functions 13 February 13th 06 05:08 PM
Sumproduct Help Needed Timmy Mac1 Excel Discussion (Misc queries) 4 January 26th 06 01:19 PM
SUMPRODUCT help needed bradgrafelman Excel Worksheet Functions 2 June 13th 05 03:49 AM
Sumproduct help needed! Trying to excel in life but need help Excel Worksheet Functions 5 January 21st 05 09:07 PM


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