+ Reply to Thread
Results 1 to 6 of 6

Extract a value in a range with specific date, category name, and store name

  1. #1
    Registered User
    Join Date
    01-28-2016
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    48

    Extract a value in a range with specific date, category name, and store name

    I need help writing a formula that will extract the number of "Donuts" purchased in Column "B" on my spreadsheet that looks at Column "A" and the value extracted is based on store name and date.

    i.e. Store Name: 069 - 331381 - CAFE
    Date: 07/29/2018

    On my spreadsheet I have 4 stores listed in Column "A" and it is a report for 1 week so each store has 7 different days of donuts purchases. I created a graph to the right and color coordinated it by store. I was hoping someone can help me write a formula that will find the values based on the store name and the specific date.

    Thank You in advance for anyone who can help me.

    Jason
    Attached Files Attached Files
    Last edited by JGREEN17; 08-08-2018 at 05:20 PM.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: I need help writing a formula that will extract a value with multiple criteria

    As long as the number of rows and relative location of "Donuts" is consistent throughout the data source this works.

    In I8 filled down and across.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If the data varies in spacing (row counts) or relative location of the product you'll need an array formula.

    Please let me know, and I'll do that.
    Dave

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: I need help writing a formula that will extract a value with multiple criteria

    In what way does this differ from your other thread here?

    https://www.excelforum.com/excel-for...-criteria.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    01-28-2016
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    48

    Re: I need help writing a formula that will extract a value with multiple criteria

    Dave,

    This worked beautifully but you were right about "Donuts" being in a relative location. Some of my stores don't carry all 6 categories of products so "Donuts" may be on the fourth line below the date and in some stores it may be on the 5th line below the date. I don't know what an array formula is but if it is simple enough for you to write it, I would greatly appreciate it.

    Thank You so kindly for the time you've put it and any time you're willing to put in further on helping me with this.

    Regards,

    Jason

  5. #5
    Registered User
    Join Date
    01-28-2016
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    48

    Re: I need help writing a formula that will extract a value with multiple criteria

    Sorry again. Is my title sufficient?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Extract a value in a range with specific date, category name, and store name

    I asked how this query differs from your other thread.

+ 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] if formula on multiple criteria otherwise extract data
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-31-2018, 11:13 AM
  2. Replies: 4
    Last Post: 05-31-2017, 09:41 AM
  3. Dynamic Formula Extract Data For Multiple Criteria - Version 2
    By Karroog in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-28-2016, 01:38 PM
  4. Replies: 12
    Last Post: 03-13-2016, 01:20 PM
  5. Writing a formula for returning a text value based on multiple criteria
    By DataAnalyst215 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-27-2016, 06:55 PM
  6. Matching multiple criteria from Sheet1 in Sheet2 and writing it in Sheet3
    By smgjob in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-08-2015, 06:16 PM
  7. [SOLVED] Dynamic Formula Extract Data for multiple criteria
    By Karroog in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-13-2014, 04:08 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