SIGforum.com    Main Page  Hop To Forum Categories  The Lounge    Excel question....
Go
New
Find
Notify
Tools
Reply
  
Excel question.... Login/Join 
Unapologetic Old
School Curmudgeon
Picture of Lord Vaalic
posted
I want to give each item going down in rows a rating, 1, 2, or 3.

I want to at the top of that column to add how many 1's, 2's and 3's there are and give a percentage.

I don't know how to write macros, so is there an easy way to do it?

Ex:

1's = 25%
2'S = 25%
3's = 50%


item A - 2
item B - 3
item C - 3
item D - 1




Don't weep for the stupid, or you will be crying all day
 
Posts: 10782 | Location: TN | Registered: December 18, 2005Reply With QuoteReport This Post
Member
posted Hide Post
I'm just a casual user but the COUNTIF function should work.

=COUNTIF(Range, criteria)

for your example below

=countif(B1:B4, "1")/5 format that as a percentage or multiply by 100. Repeat for "2" and "3"


____________________
I Like Guns and stuff
 
Posts: 758 | Location: Raleigh, NC | Registered: May 15, 2015Reply With QuoteReport This Post
Member
Picture of P250UA5
posted Hide Post
Something like this?


Done with the below formula


You could make the data range a table, and reference the table column & not have to adjust your formulas as new rows are added




The Enemy's gate is down.
 
Posts: 16287 | Location: Spring, TX | Registered: July 11, 2011Reply With QuoteReport This Post
Unapologetic Old
School Curmudgeon
Picture of Lord Vaalic
posted Hide Post
Thank you guys! The forum comes through again!




Don't weep for the stupid, or you will be crying all day
 
Posts: 10782 | Location: TN | Registered: December 18, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

SIGforum.com    Main Page  Hop To Forum Categories  The Lounge    Excel question....

© SIGforum 2024