Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Vic Vic is offline
external usenet poster
 
Posts: 117
Default Count occurence of values

How do I put the following into a formula?
Sheet1 each cell in column D contains 7-digit unique invoice number. I need
to insert a counter (formula) in column P for that same invoice number
appearing in Sheet2 in cells from B90 to B1570. For example: if Sheet1D2
appears 3 times in Sheet2(B90:B1570), then I need to put 3 in Sheet1P2. If
there weren't any invoices in Sheet2, then I need zero in Sheet1P2.
Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Count occurence of values


Try something like:

=Countif(Sheet2!$B$90:$B$1570,D2)

copied down


--
NBVC

Where there is a will there are many ways.

'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=125348

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
Formula to count occurence between two rows John Blackwell Excel Discussion (Misc queries) 8 September 16th 08 05:20 PM
count text values and return most common occurence MMcQ Excel Discussion (Misc queries) 8 February 14th 07 07:00 PM
count occurence and present results Hobbes2006 Excel Worksheet Functions 2 August 7th 06 09:42 PM
Using Sumproduct to count text occurence Dave Excel Worksheet Functions 1 July 25th 06 06:15 PM
Count the occurence of more than one condition wutang1105 Excel Worksheet Functions 1 August 26th 05 07:21 PM


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