#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Excel Function

I have a list of numbers (1,2,4,5,2,1,2,3,4,) in a column and i would like a
function to list them out as a total (1 = x, 2 = x, 3=x, 4=x) i did this one
time long ago and i can not remember how. Could someone assist me.

I also need one for words listed as the request above.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Excel Function

=countif(a:a,1)
will count the 1's

=countif(a:a,6)
will count the 6's

=countif(a:a,"somewordhere")
will count the somewordhere's

James Odom wrote:

I have a list of numbers (1,2,4,5,2,1,2,3,4,) in a column and i would like a
function to list them out as a total (1 = x, 2 = x, 3=x, 4=x) i did this one
time long ago and i can not remember how. Could someone assist me.

I also need one for words listed as the request above.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default Excel Function

Do you mean:

=COUNTIF(A1:A9,1)

=COUNTIF(A1:A9,2)

etc.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"James Odom" wrote in message
...
I have a list of numbers (1,2,4,5,2,1,2,3,4,) in a column and i would like
a
function to list them out as a total (1 = x, 2 = x, 3=x, 4=x) i did this
one
time long ago and i can not remember how. Could someone assist me.

I also need one for words listed as the request above.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Excel Function

Another thought, put this in a cell and drag down

=COUNTIF(A:A,ROW(A1))&" "&ROW(A1)&" s"

Mike

"James Odom" wrote:

I have a list of numbers (1,2,4,5,2,1,2,3,4,) in a column and i would like a
function to list them out as a total (1 = x, 2 = x, 3=x, 4=x) i did this one
time long ago and i can not remember how. Could someone assist me.

I also need one for words listed as the request above.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help to build a Look Up Function or What Ever Function Excel 2002 Carlo Excel Worksheet Functions 6 April 3rd 08 07:39 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
challenge! javascript function into excel function Kamila Excel Worksheet Functions 2 February 19th 07 06:35 AM
Excel Workday Function with another function Monique Excel Discussion (Misc queries) 2 April 27th 06 01:11 PM
Can you nest a MID function within a IF function in Excel Dawn-Anne Excel Worksheet Functions 2 March 4th 05 01:37 PM


All times are GMT +1. The time now is 03:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"