#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tam Tam is offline
external usenet poster
 
Posts: 6
Default LOOKUP Question

I have a table with several columns,one of which is a column of numbers from
(1-15) that reference a certain item. There are several instances of the
same numbers. I need a formula that will reference this column of numbers,
add however many 1's, or 5's, or 12's, etc. and return that value.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 257
Default LOOKUP Question

If you want to count the 5s (or whatever), use COUNTIF. If you want to sum
the values in another column that correspond to the 5s, use SUMIF. I don't
use 'em very often, but they're very handy occasionally.

--- "Tam" wrote:
I have a table with several columns,one of which is a column of numbers from
(1-15) that reference a certain item. There are several instances of the
same numbers. I need a formula that will reference this column of numbers,
add however many 1's, or 5's, or 12's, etc. and return that value.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default LOOKUP Question

I think you're looking for something like:
=COUNTIF(A2:A100,1)
which counts how many 1's occur in the range a2:a100.

The other similar formula is
=SUMIF(A2:A100,5)
Which would sum all the values equal to 5. I.e., if there are four 5's in
the range, formula will return a value of 20.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Tam" wrote:

I have a table with several columns,one of which is a column of numbers from
(1-15) that reference a certain item. There are several instances of the
same numbers. I need a formula that will reference this column of numbers,
add however many 1's, or 5's, or 12's, etc. and return that value.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default LOOKUP Question

Hello,

Maybe my UDF's Sfreq or Pfreq can help he
http://www.sulprobil.com

Regards,
Bernd
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
lookup question Jonathan Horvath Excel Worksheet Functions 8 July 9th 08 07:10 AM
Lookup Question CB Excel Worksheet Functions 5 February 29th 08 05:52 PM
LookUp Question Carl Excel Worksheet Functions 2 September 1st 06 04:29 PM
LOOKUP Question [again!] shakey1181 Excel Discussion (Misc queries) 5 May 31st 06 05:33 PM
Lookup Question Barb Reinhardt Excel Worksheet Functions 1 May 17th 06 03:13 PM


All times are GMT +1. The time now is 07:39 AM.

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

About Us

"It's about Microsoft Excel"