Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default SUMPRODUCT ???

Good day everyone,

Having a problem with a formula.... I would like to know how many
times during a month a user entered GIC in Column C. In column A only
dates are entered and they are the dates the peson entered the data.
Column A , B, C,D,E & F have all the same length.

My problem is that if someone enterered GIC twice the same day, it
must only count for one as I want to know how many days during the
month this person worked on the GIC task.

The column A name is ZN and the column C name is ZN1.... Here's my
formula so far...

=SUM(IF(COUNTIF(ZN,ZN)=0,"",1/
COUNTIF(ZN,ZN))*(MONTH(ZN)=ROW(G11)*(ZN1="GIC")))

validated with Ctrl-Shift-Enter....

G1 is for January... until G12 for December

G11 gives me an answer of 3.4 where the answer should be 3....

Is there a way to ease the calculation?

I have spent a few hours now and I am getting discouraged...

Date Task SubTask
Volume Time

2007/11/06 Correction GIC
91 6:00
2007/11/07 Maintenance GIC
3 0:15
2007/11/07 Correction GIC
78 0:45
2007/11/08 Other Goals/Coaching 1
0:30
2007/11/08 Correction TIS Balancing 85
6:30
2007/11/09 Other Huddle
1 0:30
2007/11/09 Correction Follow up
1 0:15
2007/11/30 Other GIC
1 0:20
2007/11/30 Investigation TIS Balancing 3
1:30
2007/12/03 Other TIS Balancing
1 0:30
2007/12/03 Other Unplanned tasks 1
0:30
2007/12/03 Maintenance GIC
8 1:15
2007/12/03 Investigation Tax slips
7 1:30
2007/12/03 Correction TIS Balancing 25
3:00
2007/12/04 Other TIS Balancing
1 0:45




Thanks for your time

Denys

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,118
Default SUMPRODUCT ???

Try this ARRAY FORMULA (commited with Ctrl+Shift+Enter):

H11: =COUNT(1/((ZN1&MONTH(ZN)="GIC"&ROW())*(MATCH("GIC"&TEXT(ZN, "mmdd"),
ZN1&TEXT(ZN,"mmdd"),0)=(ROW(ZN)-1))))

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Denys" wrote in message
...
Good day everyone,

Having a problem with a formula.... I would like to know how many
times during a month a user entered GIC in Column C. In column A only
dates are entered and they are the dates the peson entered the data.
Column A , B, C,D,E & F have all the same length.

My problem is that if someone enterered GIC twice the same day, it
must only count for one as I want to know how many days during the
month this person worked on the GIC task.

The column A name is ZN and the column C name is ZN1.... Here's my
formula so far...

=SUM(IF(COUNTIF(ZN,ZN)=0,"",1/
COUNTIF(ZN,ZN))*(MONTH(ZN)=ROW(G11)*(ZN1="GIC")))

validated with Ctrl-Shift-Enter....

G1 is for January... until G12 for December

G11 gives me an answer of 3.4 where the answer should be 3....

Is there a way to ease the calculation?

I have spent a few hours now and I am getting discouraged...

Date Task SubTask
Volume Time

2007/11/06 Correction GIC
91 6:00
2007/11/07 Maintenance GIC
3 0:15
2007/11/07 Correction GIC
78 0:45
2007/11/08 Other Goals/Coaching 1
0:30
2007/11/08 Correction TIS Balancing 85
6:30
2007/11/09 Other Huddle
1 0:30
2007/11/09 Correction Follow up
1 0:15
2007/11/30 Other GIC
1 0:20
2007/11/30 Investigation TIS Balancing 3
1:30
2007/12/03 Other TIS Balancing
1 0:30
2007/12/03 Other Unplanned tasks 1
0:30
2007/12/03 Maintenance GIC
8 1:15
2007/12/03 Investigation Tax slips
7 1:30
2007/12/03 Correction TIS Balancing 25
3:00
2007/12/04 Other TIS Balancing
1 0:45




Thanks for your time

Denys



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default SUMPRODUCT ???

Hi Ron,

Thanks for your time.... Unfortunately, I get 0 as an answer for all
months.... I will try working with your formula in the meantime....

Have a nice day...

Denys
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,118
Default SUMPRODUCT ???

Did you remember to commit the formula
with CTRL+SHIFT+ENTER, instead of just ENTER?

--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"Denys" wrote in message
...
Hi Ron,

Thanks for your time.... Unfortunately, I get 0 as an answer for all
months.... I will try working with your formula in the meantime....

Have a nice day...

Denys




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default SUMPRODUCT ???

On Mar 25, 1:08*pm, "Ron Coderre"
wrote:
Did you remember to commit the formula
with CTRL+SHIFT+ENTER, instead of just ENTER?


Yes I did Ctrl+Shift+Enter.....
You see the {} appearing at both ends of the formula...

There must be a way to make it work.... must be

Thanks again Ron

Denys
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Denys" wrote in message

...



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 595
Default SUMPRODUCT ???

On Tue, 25 Mar 2008 10:20:38 -0700 (PDT), Denys
wrote:

On Mar 25, 1:08*pm, "Ron Coderre"
wrote:
Did you remember to commit the formula
with CTRL+SHIFT+ENTER, instead of just ENTER?


Yes I did Ctrl+Shift+Enter.....
You see the {} appearing at both ends of the formula...

There must be a way to make it work.... must be


You may have to change where he has "ROW()" to "ROW(G11)" if you're not
putting the formula on the same row as the month you're after.
--
Dick
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
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
SUMPRODUCT and OR Dave F[_2_] Excel Discussion (Misc queries) 4 December 12th 07 07:37 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
Sumproduct Priscilla Excel Discussion (Misc queries) 3 May 18th 06 09:16 PM


All times are GMT +1. The time now is 04:35 PM.

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"