Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Database look up


I have a sheet of data that may look somethihng like this:

A B C
1 1 2
2 1 3
1 3 1

I want to set up a program that I can tell to look in the sheet and no
only count the number of 1's, but count it my column. For exmaple if
look up 1's I want the result to look like:

A = 2
B = 2
C= 1
or something like this where is gives me a tally of matches in
column. Any ideas

--
kola556
-----------------------------------------------------------------------
kola5567's Profile: http://www.excelforum.com/member.php...fo&userid=2461
View this thread: http://www.excelforum.com/showthread.php?threadid=39942

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Database look up

=countif(A:A,1)
=countif(B:B,1)
=countif(C:C,1)

--
Regards,
Tom Ogilvy

"kola5567" wrote in
message ...

I have a sheet of data that may look somethihng like this:

A B C
1 1 2
2 1 3
1 3 1

I want to set up a program that I can tell to look in the sheet and not
only count the number of 1's, but count it my column. For exmaple if I
look up 1's I want the result to look like:

A = 2
B = 2
C= 1
or something like this where is gives me a tally of matches in a
column. Any ideas?


--
kola5567
------------------------------------------------------------------------
kola5567's Profile:

http://www.excelforum.com/member.php...o&userid=24614
View this thread: http://www.excelforum.com/showthread...hreadid=399428



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
Update Excel Database via Access Main Database with a script Finnbar New Users to Excel 2 November 3rd 08 07:24 PM
database query not showing foxpro database How I import data mangat New Users to Excel 1 June 24th 07 03:31 PM
How to make reference to database and if true copy from database? V!p3r Excel Discussion (Misc queries) 4 February 5th 07 02:19 PM
Moved database, how do I change link to the database in excel Toastrack Excel Discussion (Misc queries) 0 October 20th 06 09:36 AM
Transforming messy database into clean database SteveC Excel Discussion (Misc queries) 4 January 24th 06 11:34 PM


All times are GMT +1. The time now is 11:46 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"