+ Reply to Thread
Results 1 to 3 of 3

Select value with with range and provide the answer based on criteria

  1. #1
    Registered User
    Join Date
    03-05-2019
    Location
    abudhabi
    MS-Off Ver
    2013
    Posts
    12

    Select value with with range and provide the answer based on criteria

    As per the attachment I have selected data range

    1 29
    30 59
    60 89
    90 119
    120 150

    I select a value 23 which is in the range between 1 - 29 and I select the March month My result should be the sales in March for the value with range on 1-29
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Select value with with range and provide the answer based on criteria

    =sumproduct((j3>=$a$3:$a$7)*(j3<=$b$3:$b$7)*(k3=$c$2:$g$2)*($c$3:$g$7))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Select value with with range and provide the answer based on criteria

    another option
    =OFFSET(B2,MATCH(J3,A3:A7,1),MATCH(K3,C2:G2))

+ 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. [SOLVED] provide a range based on result
    By mufan in forum Excel General
    Replies: 2
    Last Post: 03-06-2019, 12:36 PM
  2. Select range based on criteria and export into CVS with specific naming convention
    By brewilde13 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-15-2019, 05:30 PM
  3. Dependent combobox to provide matching row count based on 3 criteria
    By Ghostrider757 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-27-2017, 03:37 AM
  4. VBA Select range based on criteria in column
    By forfiett in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-17-2016, 09:15 AM
  5. How to provide a value based on multiple criteria.
    By hotelier in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-10-2013, 10:26 AM
  6. [SOLVED] "IF" Formula to provide an answer when a Cell is Within a Range
    By jagogo in forum Excel General
    Replies: 8
    Last Post: 03-20-2012, 04:33 PM
  7. Need code to select a range of cells based on criteria in column H
    By davekippen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-06-2011, 01:40 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