+ Reply to Thread
Results 1 to 6 of 6

Make Cells Appear Based off Matching Text

  1. #1
    Forum Contributor
    Join Date
    11-19-2019
    Location
    Michigan
    MS-Off Ver
    Office 365
    Posts
    546

    Make Cells Appear Based off Matching Text

    Just reaching out to see if anyone has a good solution. Each month I will be pulling in data and calling the tab names January, February, March, etc.. In the Summary Tab I will use the drop down to sect the month I am working in which will be cell A5. Once I select the month (A5), I would like some sort of formula which would list all dates from the tab that the month is selected. So in the case of November I would like to list all these dates in column A8:A16. Then In column B i would like to list the corresponding values. Is this possible? and did I do a good job explaining this? Please see attached file


    Place in column A: Place in column B:
    2020-11-02 Total 24.26
    2020-11-09 Total 26.04
    2020-11-16 Total 27.97
    2020-11-20 Total 2.11
    2020-11-21 Total 0.00
    2020-11-23 Total 24.13
    2020-11-30 Total 23.62



    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,884

    Re: Make Cells Appear Based off Matching Text

    With Power Query, I created a parameter query that does what you are asking for. You will need to make sure that each tab is formatted exactly the same with the same headers exactly. Additionally, each tab must be converted to a Table with headers and named for the month in question.

    Look at the attached. Make your selection in the data validation, then select Refresh All.

    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link to learn how to install Power Query in Excel 2010 / 2013.

    - Follow this link for an introduction to Power Query functionality.

    - Follow this link for a video which demonstrates how to use Power Query code provided.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Make Cells Appear Based off Matching Text

    Please try at
    A8
    =IFERROR(INDEX(INDIRECT($A$5&"!$A$6:$A$99"),AGGREGATE(15,6,ROW($A$6:$A$99)/(LEN(INDIRECT($A$5&"!$A$6:$A$99"))>14),ROWS(A$8:A8))-5),"")

    B8
    =IFERROR(INDEX(INDIRECT($A$5&"!$E$6:$E$99"),AGGREGATE(15,6,ROW($A$6:$A$99)/(LEN(INDIRECT($A$5&"!$A$6:$A$99"))>14),ROWS(A$8:A8))-5),"")
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    11-19-2019
    Location
    Michigan
    MS-Off Ver
    Office 365
    Posts
    546

    Re: Make Cells Appear Based off Matching Text

    Fantastic exactly what I was looking for. Very much appreciated it. I love this forum and the people on here. It is amazing that you guys want to help other people with nothing in return for this..just out of the reason that you want to help.

    Thank you to you both.

  5. #5
    Forum Contributor
    Join Date
    11-19-2019
    Location
    Michigan
    MS-Off Ver
    Office 365
    Posts
    546

    Re: Make Cells Appear Based off Matching Text

    Can you help me understand how this formula works? How does it know to look for the total? Thank you.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,884

    Re: Make Cells Appear Based off Matching Text

    Can you help me understand how this formula works? How does it know to look for the total? Thank you.
    Who is this message meant for?

+ 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] Cond Format needed to highlight 2 matching cells based on specific cell text
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-14-2020, 09:47 AM
  2. [SOLVED] Conditional Format Needed to highlight based on matching text in certain cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2020, 09:17 PM
  3. [SOLVED] How to sum a range of cells based on partly matching text string
    By ruddochk in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-22-2018, 04:02 PM
  4. [SOLVED] How to make multiple cells change color based on one cell's text.
    By Ducky405 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2017, 03:49 AM
  5. Replies: 4
    Last Post: 02-16-2013, 09:34 AM
  6. [SOLVED] Search text in cells, find matching text based on list, remove all but one entry
    By adam_mc in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2013, 12:50 PM
  7. Replies: 3
    Last Post: 11-04-2010, 10:00 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