Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Sumproduct with either text of number format

I need to the count the number of times a value, represent in column B1 in
sheet 1 appears in the range H1:h15000 in another worksheet

Note: the value in column H could be formated as text or number

Thanks

ce
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Sumproduct with either text of number format



=SUMPRODUCT(--(Sheet2!$H$1:$H$15000=Sheet1!B1))

HTH

"Curtis" wrote:

I need to the count the number of times a value, represent in column B1 in
sheet 1 appears in the range H1:h15000 in another worksheet

Note: the value in column H could be formated as text or number

Thanks

ce

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Sumproduct with either text of number format

Doesn't

=COUNTIF(Sheet2!$H$1:$H$15000,Sheet1!B1)

do it?


--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Toppers" wrote in message
...


=SUMPRODUCT(--(Sheet2!$H$1:$H$15000=Sheet1!B1))

HTH

"Curtis" wrote:

I need to the count the number of times a value, represent in column B1
in
sheet 1 appears in the range H1:h15000 in another worksheet

Note: the value in column H could be formated as text or number

Thanks

ce



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default Sumproduct with either text of number format

This Countif function should do that. Where your lookup text or number is
in B1 of sheet 1.

=COUNTIF(Sheet2!H1:H1500,B1)

HTH
Regards,
Howard

"Curtis" wrote in message
...
I need to the count the number of times a value, represent in column B1 in
sheet 1 appears in the range H1:h15000 in another worksheet

Note: the value in column H could be formated as text or number

Thanks

ce



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default Sumproduct with either text of number format

hi Curtis,

just realizing the word "appears" in the range....

do you mean if
e.g. as text search
B1=ABC

and on the search range, some specific cell may contain TWICE or more of the
value in B1
e.g.
H1= ABC123ABC, will you like to consider it as 2 counts since it "appears"
twice or just count it as one appearance...


regards,
driller

--
*****
birds of the same feather flock together..



"Curtis" wrote:

I need to the count the number of times a value, represent in column B1 in
sheet 1 appears in the range H1:h15000 in another worksheet

Note: the value in column H could be formated as text or number

Thanks

ce



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
Convert numbers from text format to number format merlin68 Excel Discussion (Misc queries) 7 June 20th 07 07:03 PM
Change number (in text format) to numeric format Pam Excel Discussion (Misc queries) 5 October 24th 05 07:45 PM
How to change text format .126 to number format 0.126 ? vitality Excel Worksheet Functions 2 October 6th 05 01:02 PM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
How do i change numbers in text format to number format? Greg New Users to Excel 1 December 14th 04 05:22 PM


All times are GMT +1. The time now is 03:54 PM.

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"