Results 1 to 10 of 10

Switch Function - Two Criteria or Expressions

Threaded View

  1. #5
    Forum Contributor John Vergara's Avatar
    Join Date
    01-17-2022
    Location
    Colombia
    MS-Off Ver
    365
    Posts
    209

    Re: Switch Function - Two Criteria or Expressions

    Hi everyone!

    You can use this two formulas:

    PHP Code: 
    [B334] : =TAKE(SORT(FILTER(CHOOSECOLS(A7:M327,13,8,9,10,2),N7:N327=B333),,-1),5)
    [
    B342] : =TAKE(SORT(CHOOSECOLS(A7:M327,13,8,9,10,2),,-1),10
    The second option assumes that all your data belongs to year 2024 (you can add a 2024 filter if you consider it necessary). Blessings!
    Last edited by John Vergara; 11-06-2024 at 03:48 PM.
    A out-of-context text is a pretext.
    Consider adding reputation points to all the people who help you with your question/problem.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Switch ON/OFF with the IF function
    By Joe.Mintsa in forum Excel General
    Replies: 1
    Last Post: 01-13-2023, 04:58 PM
  2. Single Button Toggle Switch To Switch Between Columns
    By Zaerick in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-29-2022, 11:55 PM
  3. [SOLVED] why switch() function when I can use If()
    By lastnn30 in forum Excel General
    Replies: 1
    Last Post: 12-04-2021, 10:13 PM
  4. Help needed with expressions with substring expressions.
    By sbell1234 in forum Access Tables & Databases
    Replies: 7
    Last Post: 06-21-2015, 02:59 PM
  5. Switch Between alternative lists based on other list or criteria
    By chaddug in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-12-2012, 03:17 PM
  6. Replies: 0
    Last Post: 09-02-2011, 10:47 AM
  7. Switch function
    By kramer.newsreader@gmail.com in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-16-2006, 05:25 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