+ Reply to Thread
Results 1 to 5 of 5

Named range that returns range in column A based on criteria looking at column B

  1. #1
    Registered User
    Join Date
    10-31-2012
    Location
    St Asaph
    MS-Off Ver
    Excel 2007
    Posts
    4

    Named range that returns range in column A based on criteria looking at column B

    Not quite sure how the best way to word what I want but here goes,

    What I have existing is:

    In column A
    I have a list of names (i.e. 1307081624GILHSSHIRE, which are always made up of date, time, project & name with the date & time as yymmddhhmm). From time to time a new name gets added to the top, forcing all entries down one row).

    In column B
    I have a list of dates (date formatted) that are "concatenated" from the names in column A (i.e. 08-07-2013).

    My objective is to have a named range that looks at column A but only at a portion that is set by a portion of the dates in column B which are between a start date in C1 and an end date in D1. So when I change C1 and/or D1 the named range result will change.

    There may be a solution that just looks only at column A as I only added column B as I thought it is best that the searchable column is date formatted?

    Any help would be brilliant.
    Thanks.
    Attached Files Attached Files
    Last edited by nxf; 07-17-2013 at 12:13 PM. Reason: added file

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Named range that returns range in column A based on criteria looking at column B

    See for tips in this link

    http://www.excelforum.com/the-water-...-question.html
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    10-31-2012
    Location
    St Asaph
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Named range that returns range in column A based on criteria looking at column B

    Thanks....I have added a file.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Named range that returns range in column A based on criteria looking at column B

    =if(and($B2>=$C$1,$B2<=$D$1),"yes","")

    See the attached file.

    I have changd the formula in B1 (*1) to change the text into date.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-31-2012
    Location
    St Asaph
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Named range that returns range in column A based on criteria looking at column B

    Thanks Oeldere,

    I have now changed my design which used to look at multiple sheets.....it now uses SUMPRODUCT & INDIRECT and now has no need for a named range as it has one table and my latest favourite function.........SUMIFS!!

    Thanks again.

+ 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. Named Range Based on Column Header
    By kcguyton in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-29-2013, 12:14 PM
  2. [SOLVED] CountIF for dynamic length column using criteria of Named Range
    By saber0091 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-04-2013, 02:04 PM
  3. Fill down cells in column based on named range
    By Pademba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2013, 02:34 PM
  4. [SOLVED] Dynamic Named Range Help - Range Based on Values in Column
    By Filibuster in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-03-2012, 11:13 AM
  5. Select cells based on named Range and a column heading
    By achidsey in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-11-2005, 11: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