Cell to Display value "C" or "NC" base on % of data range

%3CLINGO-SUB%20id%3D%22lingo-sub-2237168%22%20slang%3D%22en-US%22%3ECell%20to%20Display%20value%20%22C%22%20or%20%22NC%22%20base%20on%20%25%20of%20data%20range%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2237168%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFairly%20new%20to%20using%20excel%20formulas%20and%20could%20use%20a%20hand%20i%20am%20trying%20to%20Display%20a%20value%20(%22C%22%20or%20%22NC%22)%20in%20cell%20C5%20based%20on%20the%20percentage%20of%20%22RT%22%20or%20%22NC%22%20from%20cells%20D5-K5.%20Yellow(blank)%20cells%20are%20irrelevant%20to%20the%20equation%3C%2FP%3E%3CP%3EIm%20looking%20have%20the%20%22Overall%20score%22%20column%20update%20as%20data%20is%20entered%20and%20this%20would%20be%20a%20very%20large%20time%20saver.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screen%20Shot%202021-03-26%20at%206.32.23%20pm.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267367i9757BDEE6B886499%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screen%20Shot%202021-03-26%20at%206.32.23%20pm.png%22%20alt%3D%22Data%20range%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EData%20range%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2237168%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECharting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20on%20Mac%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2237467%22%20slang%3D%22en-US%22%3ERe%3A%20Cell%20to%20Display%20value%20%22C%22%20or%20%22NC%22%20base%20on%20%25%20of%20data%20range%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2237467%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1009302%22%20target%3D%22_blank%22%3E%40Cjlodd%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20tell%20us%20how%20we%20decide%20whether%20to%20return%20C%20or%20NC%3F%20%22based%20on%20the%20percentage%20of%22%20is%20rather%20vague...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2238920%22%20slang%3D%22en-US%22%3ERe%3A%20Cell%20to%20Display%20value%20%22C%22%20or%20%22NC%22%20base%20on%20%25%20of%20data%20range%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2238920%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F127945%22%20target%3D%22_blank%22%3E%40Hans%20Vogelaar%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20thanks%20for%20the%20response%20%2C%20id%20like%20to%20display%20%22NonCompliant%22%20or%20%22Compliant%22%20based%20on%20the%20percent%20of%20%22RT%22%20and%20%22NC%22%20cells%20per%20row.%3C%2FP%3E%3CP%3EI%20am%20currently%20using%20the%20following%20formula%20temporarily.%26nbsp%3B%3C%2FP%3E%3CP%3E%3DIF(COUNTIF(D19%3ABZ19%2C%22RT%22)%3CCOUNTIF%3E%3C%2FCOUNTIF%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20giving%20some%20extra%20thought%20to%20the%20process%2C%20i%20think%20i%20need%20work%20out%20what%20has%20the%20highest%20Percentage%20of%20the%20entire%20row%20and%20display%20that%20in%20the%20Box.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi,

 

Fairly new to using excel formulas and could use a hand i am trying to Display a value ("C" or "NC") in cell C5 based on the percentage of "RT" or "NC" from cells D5-K5. Yellow(blank) cells are irrelevant to the equation

Im looking have the "Overall score" column update as data is entered and this would be a very large time saver.Data rangeData range

3 Replies

@Cjlodd 

Can you tell us how we decide whether to return C or NC? "based on the percentage of" is rather vague...

@Hans Vogelaar 

 

Hi thanks for the response , id like to display "NonCompliant" or "Compliant" based on the percent of "RT" and "NC" cells per row.

I am currently using the following formula temporarily. 

=IF(COUNTIF(D19:BZ19,"RT")<COUNTIF(D19:BZ19,"NC"),"Non-Compliant","Compliant")

 

After giving some extra thought to the process, i think i need work out what has the highest Percentage of the entire row and display that in the Box. 

 

 

 

@Cjlodd 

I'd say your current formula does what you want.