+ Reply to Thread
Results 1 to 3 of 3

Selecting from a list between different values

  1. #1
    Registered User
    Join Date
    03-01-2016
    Location
    -
    MS-Off Ver
    Mac Office
    Posts
    8

    Selecting from a list between different values

    My problem is as follows. I have two columns, call them A and B having numbers in them. Let's take 6 values:
    A B
    1 20
    2 20
    3 30
    4 30
    5 50
    6 50

    Now I have another two cells, call them D1 and D2 which hold two numbers.
    D1 = 2
    D2 = 5

    I need a formula which will count me the number of times number 30 from column B occurs in the range of D1 to D2 in column A. This means my formula needs to spit out 2 in this case. I've tried to use vlookup, and ifcount, however, I have only managed to get the number of occurences in column A between the interval D1 and D2, in this case 4, including D1, and D2.

    How can I do this?
    Last edited by dragon324; 03-01-2016 at 06:39 PM.

  2. #2
    Registered User
    Join Date
    01-08-2014
    Location
    Missouri
    MS-Off Ver
    365
    Posts
    87

    Re: Selecting from a list between different values

    Will this formula work?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by eibi; 03-01-2016 at 06:47 PM.

  3. #3
    Registered User
    Join Date
    03-01-2016
    Location
    -
    MS-Off Ver
    Mac Office
    Posts
    8

    Re: Selecting from a list between different values

    Yes 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. Replies: 2
    Last Post: 10-10-2014, 07:38 AM
  2. Selecting values out of a list
    By Bob2202 in forum Excel General
    Replies: 2
    Last Post: 08-21-2014, 10:21 AM
  3. [SOLVED] Selecting last several values in a column list
    By mustangsally in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-13-2014, 04:11 PM
  4. Selecting corresponding value based on list of values
    By marcboom in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-25-2013, 07:36 AM
  5. Selecting from a list of text according to a range of values
    By Peter Robin in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-20-2013, 11:44 PM
  6. Formula for Selecting Values from a List
    By DragonballZ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2010, 11:09 AM
  7. Selecting values from a list to add up to a specific quantity
    By goose in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2006, 09:20 AM

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