+ Reply to Thread
Results 1 to 3 of 3

Searching for specific field within range

  1. #1
    Registered User
    Join Date
    08-03-2015
    Location
    California
    MS-Off Ver
    MS 2013
    Posts
    22

    Searching for specific field within range

    Hello all,

    I am having a difficult time finding a specific value within a range of cells. I attached a sample spreadsheet showing the top 3 soda brands by region (purely hypothetical). In the example I want to report on Pepsi. If it is included in the top 3, then I don't need to show an additional field. But if it is not in the top 3, then I want to show a 4th row with Pepsi reported.

    Thanks!
    Scott

    Test - Company Ranking.xlsx

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Searching for specific field within range

    Theres a number of formulas you'd use. See attached.

    The base formula is =IF(COUNTIF($B15:$B17,$C$4),"",other formula) for row 11.

    From there copy to 18 and 25 and you're set.
    Attached Files Attached Files
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    08-03-2015
    Location
    California
    MS-Off Ver
    MS 2013
    Posts
    22

    Re: Searching for specific field within range

    Easy enough - thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Searching cells within a range that contain specific text
    By JohnG73 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-20-2016, 05:52 AM
  2. [SOLVED] Searching a Range for a Specific Text and put a different text in a different cell
    By AngelAzrael in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-14-2013, 09:25 AM
  3. Replies: 3
    Last Post: 10-17-2013, 02:26 PM
  4. Searching for specific letter in specific location in cells
    By pmoniz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2013, 08:26 AM
  5. find data in specific field, paste in specific field of 2nd tab
    By juniperjacobs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2012, 03:10 PM
  6. Field searching?
    By wufishmonger in forum Excel General
    Replies: 3
    Last Post: 06-10-2006, 06:10 PM
  7. [SOLVED] applying a macro for a specific field to a range of fields
    By Craig in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2005, 01:05 AM
  8. searching on more than one field in VB
    By jjfjr in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-24-2005, 04:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1