Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-06-2015, 09:11 AM
derohanes derohanes is offline searching a range using a value in another cell Windows Vista searching a range using a value in another cell Office 2007
Advanced Beginner
searching a range using a value in another cell
 
Join Date: Oct 2008
Posts: 67
derohanes is on a distinguished road
Default searching a range using a value in another cell

I want to use the value in another cell to find the number of times it occurs in a range of cells. This is an example of the search.



=COUNTIF(Sheet1!B1:C5,ISNUMBER(SEARCH("string",SHE ET1!B1:C5)))

I want to look for "string" in range B1:C5 in SHEET1, and count the number of occurances.

This works if I type in "string." However, I want the expression to use the value column A of SHEET2 and put the resulting count in column B SHEET2. So, B1 would have the count of A1 in range SHEET1!B1:C5, and B2 would have the count of A2 in range SHEET1!B1:C5, and so on down the column. So, how do I stick the string that is in A as an expression in the column B?

I hope this is clear.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
searching a range using a value in another cell If id cell range is empty then should not allow to fill any other cell ubns Excel Programming 2 04-12-2015 06:31 AM
searching a range using a value in another cell If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) lily Excel 9 10-23-2014 06:21 AM
VLOOKUP looking at another cell for its range Rich18144 Excel 1 06-24-2014 07:56 AM
Change formula cell range based on cell value Scoth Excel 4 10-25-2012 07:51 AM
searching a range using a value in another cell Limit cell range use talkinglens Excel 6 12-31-2010 08:43 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft