+ Reply to Thread
Results 1 to 18 of 18

Match 3 criteria and return multiple values

  1. #1
    Registered User
    Join Date
    12-23-2018
    Location
    australia
    MS-Off Ver
    new
    Posts
    18

    Match 3 criteria and return multiple values

    I have a sheet with 10 values

    Entered - Entered at - Promo - Type -Date -Amount - Member Name - Member Number - Staff - Notes

    i then have 8 sheets with the different values of promo

    i want to match the cells for promo and type exactally, and anything within a calender month, and return the values of date, entered, amount, member name, member number, staff and notes.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Match 3 criteria and return multiple values

    It would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post. Don't try to use the Paperclip icon (Attachments button), as it doesn't work on this forum.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    12-23-2018
    Location
    australia
    MS-Off Ver
    new
    Posts
    18

    Re: Match 3 criteria and return multiple values

    hopefully this works
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Match 3 criteria and return multiple values

    ??? What do you want to see and where do you want to see it? A blank template and no explanation isn't much to go on...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    12-23-2018
    Location
    australia
    MS-Off Ver
    new
    Posts
    18
    Quote Originally Posted by Glenn Kennedy View Post
    ??? What do you want to see and where do you want to see it? A blank template and no explanation isn't much to go on...
    Id like all the fields in partsdata to go into cashwheel 2019. Based on type and promo fields, and date

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Match 3 criteria and return multiple values

    Please amend your sheets by including some manually calculated EXPECTED RESULTS. Sadly my crystal ball is away being repaired...

  7. #7
    Registered User
    Join Date
    12-23-2018
    Location
    australia
    MS-Off Ver
    new
    Posts
    18

    Re: Match 3 criteria and return multiple values

    Here it is again.

    Ive created 2 lines in partsdata.

    One line should then be found by the january column of the bingo sheet,
    while the other line should be found by the january column if the cashwheel sheet.
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Match 3 criteria and return multiple values

    I'm away for the night. I'll be back in the UK morning.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Match 3 criteria and return multiple values

    Well, there's no way I would have guessed that from your initial description. And all to be done on two sheets that were way out of view!!

    In Cashwheel 2019, B3:
    =IFERROR(INDEX(PartsData!$H:$H,AGGREGATE(15,6,ROW(PartsData!$H$2:$H$100)/((PartsData!$C$2:$C$100="Cashwheel")*(PartsData!$D$2:$D$100="Points")*(MONTH(PartsData!$E$2:$E$100)=MONTH(B$1))),ROWS($1:1))),"")

    with similar formulae C to E, G & H. No idea what you want in F...

    Then select B3:H3, drag down to row 267. Copy entire block. Select J3: paste, R3, paste, etc. I hhave done this only for February.

    Same approach for Bingo 2019, except replacing "Bingo" for "Cashwheel". Again, done only for Jan & Feb.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    12-23-2018
    Location
    australia
    MS-Off Ver
    new
    Posts
    18

    Re: Match 3 criteria and return multiple values

    Thank you, ive just gotten back in to the office and this is almost perfect.

    Of course as soon as i get back they want something different.

    They want a new sheet called reports, as well as a problem with the first page, do you know how i can set it so it doesnt make me put something in notes?
    Attached Files Attached Files

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Match 3 criteria and return multiple values

    Hi. I know nothing about VBA, so I can't help you there. Regarding Reports, please populate it with manually calculated results and (if it is not obvious) tell me WHERE the expected results cam from.

  12. #12
    Registered User
    Join Date
    12-23-2018
    Location
    australia
    MS-Off Ver
    new
    Posts
    18

    Re: Match 3 criteria and return multiple values

    Sorry,

    all values are in parts data.

    reports should have items of that promo type, and date only.
    Attached Files Attached Files

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Match 3 criteria and return multiple values

    Why include rows 7 and 8, which have a different date (column E)?

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Match 3 criteria and return multiple values

    Ummm. Now that I have enabled editing... there are formulae there. I'm confused....

  15. #15
    Registered User
    Join Date
    12-23-2018
    Location
    australia
    MS-Off Ver
    new
    Posts
    18

    Re: Match 3 criteria and return multiple values

    i used the one you gave me before and was trying to edit it. how ever i got stuck on the month part, and was not able to change it to the specific date.

  16. #16
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Match 3 criteria and return multiple values

    OK. the penny drops. For some reason, I'm a bit thick this morning....

    =IFERROR(INDEX(PartsData!G:G,AGGREGATE(15,6,ROW(PartsData!$H$2:$H$100)/((PartsData!$C$2:$C$100="Cashwheel")*(PartsData!$E$2:$E$100=$D$5)),ROWS(D$9:D9))),"")
    Attached Files Attached Files

  17. #17
    Registered User
    Join Date
    12-23-2018
    Location
    australia
    MS-Off Ver
    new
    Posts
    18

    Re: Match 3 criteria and return multiple values

    in c7 there is a drop down box, i need the

    =IFERROR(INDEX(PartsData!G:G,AGGREGATE(15,6,ROW(PartsData!$H$2:$H$100)/((PartsData!$C$2:$C$100="Cashwheel")*(PartsData!$E$2:$E$100=$D$5)),ROWS(D$9:D9))),"")

    bolded underlined part to read that cell

  18. #18
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Match 3 criteria and return multiple values

    OK. Like this, then.
    Attached Files Attached Files

+ 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. Match multiple criteria and return multiple values.
    By lodewyj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-06-2017, 07:57 PM
  2. [SOLVED] Array formula to return list of values that match multiple criteria
    By TFiske in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-30-2016, 01:57 PM
  3. [SOLVED] Index/Match with Multiple Criteria and Multiple return values
    By Brawnystaff in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-28-2015, 10:27 AM
  4. [SOLVED] Return Multiple values from a column with index and match, and search criteria
    By marcusduton in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 02-15-2015, 09:59 PM
  5. Replies: 0
    Last Post: 07-08-2014, 09:51 AM
  6. [SOLVED] How to return multiple values that match a single search criteria?
    By JSallen in forum Excel General
    Replies: 4
    Last Post: 11-28-2012, 11:49 AM
  7. SOS:Return multiple values against multi criteria match and index function
    By nitesh_inin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-26-2012, 05:45 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