+ Reply to Thread
Results 1 to 6 of 6

One criteria in multiple columns

  1. #1
    Registered User
    Join Date
    02-10-2022
    Location
    Denmark
    MS-Off Ver
    11
    Posts
    4

    One criteria in multiple columns

    Hi everyone,

    I am in the process of making an overall planner for me and my team.
    I want to have an overall sheet that displays all tasks, but I then want separate sheets for each week (e.g. week3, week4, week5 etc.)

    The planner is set up as shown in the picture attached
    example.PNG

    So for instance for week 3, I want a macro that looks in column E-I for "x" and returns only those with an "x". This result should be copied to a new sheet and the rows returned should only include column A-I

    My issue is how I get the macro to look for a single criteria across multiple columns. I have searched online, but haven't found a solution that fits this! Does anyone know how this can be solved?

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: One criteria in multiple columns

    Hi and welcome.

    Could you attach a sample workbook (not a picture of one) and show us what your expected output looks like?

    BSB

  3. #3
    Registered User
    Join Date
    02-10-2022
    Location
    Denmark
    MS-Off Ver
    11
    Posts
    4

    Re: One criteria in multiple columns

    Hi,

    Thanks very much!

    And yes sure. I have just tried to set up an example with random input.
    The wanted output is those in sheets called: Week 3, week 4 and week 5 - this output should be returned from overall sheet

    Attachment 767460

  4. #4
    Registered User
    Join Date
    02-10-2022
    Location
    Denmark
    MS-Off Ver
    11
    Posts
    4
    Quote Originally Posted by BadlySpelledBuoy View Post
    Hi and welcome.

    Could you attach a sample workbook (not a picture of one) and show us what your expected output looks like?

    BSB
    Let me know if more info is needed then the attached file from my previous reply 😊

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: One criteria in multiple columns

    The attachment doesn't work. Follow the instructions in the yellow banner at the top of the page to attach a file.

    BSB

  6. #6
    Registered User
    Join Date
    02-10-2022
    Location
    Denmark
    MS-Off Ver
    11
    Posts
    4

    Re: One criteria in multiple columns

    Oh, I am so sorry! I hope I did it correctly now
    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. [Solved] Pulling info from multiple possible columns using multiple criteria columns
    By Barren_Wuffett in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-08-2019, 05:37 PM
  2. Pulling single cell from multiple possible columns using multiple criteria columns
    By Barren_Wuffett in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-05-2019, 09:24 AM
  3. [SOLVED] Lookup multiple criteria in multiple columns in multiple rows; return true if exists
    By ufdlim in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-07-2019, 02:03 PM
  4. Add Multiple Columns based on same criteria found in multiple columns
    By KathyBNelson in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-29-2014, 04:42 PM
  5. [SOLVED] UDF for sum of multiple criteria in multiple columns and single criteria in multiple colum
    By Ganesh7299 in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 11-22-2013, 04:26 AM
  6. [SOLVED] Sum Multiple Columns if successful criteria are matched in multiple columns
    By dharmeshchavda in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-03-2013, 11:02 PM
  7. Replies: 2
    Last Post: 10-05-2011, 12:43 PM

Tags for this Thread

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