#1   Report Post  
Posted to microsoft.public.excel.misc
djk djk is offline
external usenet poster
 
Posts: 4
Default conditional formulas

I am trying to track data by using a reference in a separate column. For
example, If cell A1="Victor" I want to deduct the data assigned to him in
cell B1 on the condition that cell C1="Y"

So, If "Victor" is assigned to A1:A10, and B1:B10 is assigend 5 each
totaling 50, as Victor completes the assignment for each row indicated by a
"Y" in the next cell, I want cell D4 to reflect the open tasks while D5 will
reflect the completed.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default conditional formulas

DJK wrote:
I am trying to track data by using a reference in a separate column. For
example, If cell A1="Victor" I want to deduct the data assigned to him in
cell B1 on the condition that cell C1="Y"

So, If "Victor" is assigned to A1:A10, and B1:B10 is assigend 5 each
totaling 50, as Victor completes the assignment for each row indicated by a
"Y" in the next cell, I want cell D4 to reflect the open tasks while D5 will
reflect the completed.


D4: =SUMPRODUCT(--("Victor"=A1:A10),--("Y"<C1:C10),(B1:B10))
D5: =SUMIF(A:A,"Victor",C:C)-D4
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default conditional formulas


This will show all those open (without a Y in column C)
=SUMPRODUCT((A1:A10="Victor")*(B1:B10=5)*(C1:C10< "Y")) and this will
show all those complete
=SUMPRODUCT((A1:A10="Victor")*(B1:B10=5)*(C1:C10=" Y")) bear in mind that
the ranges must be the same!

DJK;344633 Wrote:
I am trying to track data by using a reference in a separate column. For
example, If cell A1="Victor" I want to deduct the data assigned to him
in
cell B1 on the condition that cell C1="Y"

So, If "Victor" is assigned to A1:A10, and B1:B10 is assigend 5 each
totaling 50, as Victor completes the assignment for each row indicated
by a
"Y" in the next cell, I want cell D4 to reflect the open tasks while D5
will
reflect the completed.



--
Simon Lloyd

Regards,
Simon Lloyd
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=96420

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
Conditional Formulas Lee Excel Discussion (Misc queries) 0 March 10th 08 06:43 PM
Conditional Formulas Maybe? jrose Excel Discussion (Misc queries) 3 April 25th 06 12:12 PM
conditional formulas Beth104 Excel Worksheet Functions 3 March 8th 06 03:09 PM
Conditional Formulas Norm75 Excel Discussion (Misc queries) 2 December 23rd 05 07:42 PM
conditional formulas deaundra Excel Worksheet Functions 3 April 15th 05 12:44 AM


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