+ Reply to Thread
Results 1 to 3 of 3

I want to search for text within a column & then search a range that depends on that text

  1. #1
    Registered User
    Join Date
    10-02-2016
    Location
    Cairo
    MS-Off Ver
    2010
    Posts
    2

    I want to search for text within a column & then search a range that depends on that text

    Hi All,

    First of all I want to admit that this might be a problem that have been posted before, but I really tried my best to find a solution with google and within this forum with no luck, so here is the problem, and I hope you would understand:

    I have a data sheet that I receive monthly with rows and order that change each month, and I am now doing a summary sheet that extract certain numbers of interest from the data sheet, and I am now in the process of automating that summary sheet, below is example of the data I have:

    I have this in my data sheet,

    Awareness

    Brand(A) 10 20 30
    Brand(B) 55 43 23
    Brand(C) 60 88 22


    Trial


    Brand(A) 50 60 70
    Brand(B) 80 85 60
    Brand(C) 80 95 30


    Usage

    Brand(A) 60 70 80
    Brand(B) 70 60 50
    Brand(C) 70 99 40


    (FYI the columns represent months),So I have the same list of brands that is repeated for about 10 or more tables , and what I need to do is to search for the text"Awareness" and then search the relative range below for another text"Brand(A)" it just before the start of the next table, to return whatever column i need. and then I shall repeat this for the other tables I need, (i.e. Trial, Usage, etc)


    I will tell you what I reached by myself so far, I succeeded to reach the same end result using both offset and match formulas, but the drawback of this approach is that new brands (Rows) might be inserted each month, which make my offset really useless, so that is why I thought posting the above, to reach a better and more consistent approach that is changeproof.

    Thanks in Advance,
    Hazem

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,536

    Re: I want to search for text within a column & then search a range that depends on that t

    Please post a sample file showing expected results.To Attach a File:

    1. Click "Go Advanced"
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.

  3. #3
    Registered User
    Join Date
    10-02-2016
    Location
    Cairo
    MS-Off Ver
    2010
    Posts
    2
    Hi John, the output will look exactly the same, the thing is I need formulas to get these values based on text from my monthly data to update my summary sheet instead of copy paste everything every month.

+ 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. VBA Code - Search text & search number & search qty and result - Urgent Please
    By naresh73 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2014, 10:51 AM
  2. [SOLVED] search text of cell in a range and return the contents in the corresponding column
    By kumail in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-18-2013, 06:42 PM
  3. [SOLVED] search for text, then search for previous text, replace 1st text including number from 2nd
    By kldailey in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2012, 05:23 PM
  4. Replies: 3
    Last Post: 08-16-2012, 03:25 PM
  5. Replies: 4
    Last Post: 04-02-2012, 07:37 AM
  6. Replies: 1
    Last Post: 07-26-2011, 06:48 AM
  7. Search a particular text column in other file for a range
    By subramanir in forum Excel General
    Replies: 1
    Last Post: 05-04-2007, 04:32 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