+ Reply to Thread
Results 1 to 2 of 2

EXACT Functionality with non-sequential coloumns

  1. #1
    Registered User
    Join Date
    11-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    EXACT Functionality with non-sequential coloumns

    My code for calculating alphabetic grade is below,it is working properly for sequential coloumns

    How to change this code ,when non-sequential columns are considered ,means how EXACT(R5:V5) will be change if R5,T5,V5 are only considered for EXACT function means not all successive columns are considered .

    =IFERROR(IF(SUMPRODUCT(--EXACT($R5:$V5,"a"))>0,"a",IF(((COUNTIF(R5:V5,"A")*3)+(COUNTIF(R5:V5,"B")*2)+(COUNTIF(R5:V5,"C")*1))/COUNTA(R5:V5)>=2.1,"A",IF(((COUNTIF(R5:V5,"A")*3)+(COUNTIF(R5:V5,"B")*2)+(COUNTIF(R5:V5,"C")*1))/COUNTA(R5:V5)>=1.1,"B",IF(((COUNTIF(R5:V5,"A")*3)+(COUNTIF(R5:V5,"B")*2)+(COUNTIF(R5:V5,"C")*1))/COUNTA(R5:V5)>=0.1,"C","")))),"")


    Earlier I posted but I didnt get answer for that ,pls provide some solution for this issue

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: EXACT Functionality with non-sequential coloumns

    you need to link to your last post so someone knows what you are reffering to
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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