Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2004

Tip: Looking for answers? Try searching our database.

incremenT CountIF Value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
infojmac - 28 Oct 2004 13:27 GMT
i'm not sure i've expressed my problem clearly.

say in column A i have the values 1,2,3,4 and 5 so it may run like
this
5
1
1
2
1
3
3
4
1
4

Then i do a COUNTIF(A:A,"1") which gives me a total of 4.

So now i want to do the following with 2 and then 3 and then 4 and so
on.

Which wouldn't be so bad but my range of numbers goes on to over 100 so
it would be easier if somehow i could increment the value the countif
function is looking for, rather than typing in each countif on the
column A

Cheers,

John

Signature

infojmac

Alex Delamain - 28 Oct 2004 13:55 GMT
That's what my solution would give.

Column B would be numbers 1 - 100 and column C would show how man
times each of those values appeared in the list

If you want the countif formula to remain as a single cell and show th
frequency of 1 and then 2 then 3 etc I think you are going to need t
use VBA
Dave Peterson - 28 Oct 2004 14:01 GMT
You may want to look at Data|Pivottable to get your counts.

Or you could put 1 to 100 in a column of cells (C1:c100???)

and adjust your formula to something like:

=countif(a:a,c1)

and drag down.

> i'm not sure i've expressed my problem clearly.
>
[quoted text clipped - 30 lines]
> infojmac's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=10787
> View this thread: http://www.excelforum.com/showthread.php?threadid=273139

Signature

Dave Peterson
ec35720@msn.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.