Results 1 to 5 of 5

Need and combination in my existing formula.

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    402

    Need and combination in my existing formula.

    Hi,
    I have the below formula which is working good.
    =IFERROR(SUMPRODUCT(COUNTIFS('Raw Data'!$P$2:$P$20000,$A2,'Raw Data'!$X$2:$X$20000,">=6",'Raw Data'!$A$2:$A$20000,Input!$B$2,'Raw Data'!$E$2:$E$20000,Rough!L$1:$L$11,'Raw Data'!$G$2:$G$20000,Input!$C$2))/SUMPRODUCT(COUNTIFS('Raw Data'!$P$2:$P$20000,$A2,'Raw Data'!$X$2:$X$20000,">=0",'Raw Data'!$A$2:$A$20000,Input!$B$2,'Raw Data'!$E$2:$E$20000,Rough!L$1:$L$11,'Raw Data'!$G$2:$G$20000,Input!$C$2))," ")
    Now my problem is, if I select "Overall" in sheet input which is in cell B2 it should calculate (US&C,EAMER and GAR). Actually these are the different conditions for which it is working fine individually.

    Ex: If I select US&C in B2 it is giving the result and if EAMER is selected then it is calculating the required result and giving the output.
    Sameway for GAR also it is working.

    So, if i select Overall then it should calculate all (US&C+EAMER+GAR)..

    Help please!!

    If I select Overall in input sheet, then what changes i have to make in the above formula. I am attaching the sample file for reference. The formulas are there in sheet WCSAT from B2 to C33. Please help...
    Attached Files Attached Files
    Last edited by kishoremcp; 09-05-2012 at 02:01 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1