Dear Friends,
Please find the enclosed file for the problem.
Please help me to write a VBA code for this issue.
Thanks
M.Velmurugan
Dear Friends,
Please find the enclosed file for the problem.
Please help me to write a VBA code for this issue.
Thanks
M.Velmurugan
Last edited by mvel_sky; 07-30-2009 at 04:57 AM. Reason: Forget the attachment
Hi,
Try this..
![]()
Please Login or Register to view this content.
Rule 1: Never merge cells
Rule 2: See rule 1
"Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".
Hmmm no VBA needed simply put this in in E3 and copy down =SUMPRODUCT((I3:I15=B3)*(J3:J15)) and this in D3 and copy down =SUMPRODUCT((I3:I15=B3)*(J3:J15=0))
Not all forums are the same - seek and you shall find
Thank You Very much... It is working...
But when i copy the formulae to my master file and modified accordingly, it is not working... All values are showing as zero... (File enclosed)
Please help...
Hi
If you had provided excel data instead of image, it would have been better.
try =sumproduct(($V$7:$V$59=E67)*($AF$7:$AF$59=0))
Ravi
The reason is you changed one of the ranges in the SUMPRODUCT to be inconsistent, SUMPRODUCT needs to have identical ranges so if you used A1:A100 in the criteria portion then you must use the same range dimensions in the rest i.e B1:B100 you cannot use something like B2:B59.
Thanks for your valuable comments.
But if i enter the formulae in my original file, it is not working.
I have enclosed the original file for your ref...
Please do the needful.
Regards
M.Velmurugan
Simply change the V in the formula to Q, you cannot sumproduct a concatenation!
Hi
see the attached file
Ravi
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks