A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

conditional formulas



 
 
Thread Tools Display Modes
  #1  
Old May 14th, 2009, 12:32 AM posted to microsoft.public.excel.misc
DJK
external usenet poster
 
Posts: 12
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  
Old May 14th, 2009, 12:52 AM posted to microsoft.public.excel.misc
smartin
external usenet poster
 
Posts: 780
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  
Old May 14th, 2009, 12:57 AM posted to microsoft.public.excel.misc
Simon Lloyd[_247_]
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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.