+ Reply to Thread
Results 1 to 3 of 3

Help with IF formula over multiple columns

  1. #1
    Registered User
    Join Date
    04-26-2024
    Location
    Preston, England
    MS-Off Ver
    365
    Posts
    2

    Help with IF formula over multiple columns

    Hi

    Task tracker.xlsx

    A group of operatives have weekly tasks. They submit the results to me which I enter into a spreadsheet like the above simplified version.

    Some tasks need to be assigned a code (the variants are shown in rows 1 to 3). If a task code is entered in any of the columns from C onwards I want the same code and conditional formatting to show directly after their name in column B, as per the example for Joe.

    Joe had L1 for task 2 but as L3 is higher level, task 3 code overrides L2 in column B. Same with E codes. Joe hasn't had any P codes yet so it remains unchanged in column B.

    I hope my explanation is clear but please ask if not.

    What I need is a formula in column B to change the content according to the task codes. I've spent a lot of time trying to work out how to use the IF function but it's taxing my brain power too much, hence my visit here to see if anyone can assist!

  2. #2
    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,133

    Re: Help with IF formula over multiple columns

    PLEASE don't hide the rest of the sheet.. we need it to play on...


    =IF(TEXTJOIN(,,,C9:F9)="","",INDEX($A$1:$D$1,MAX(IFERROR(MATCH(C9:F9,$A$1:$D$1,0),""))))

    similar for the other two. THen copy ALL 3 celly and copy down, as required.
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    04-26-2024
    Location
    Preston, England
    MS-Off Ver
    365
    Posts
    2

    Re: Help with IF formula over multiple columns

    Thanks Glenn, I've played around with this and it seems it will work nicely.

    Really appreciate your help!

    Mark

+ 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] Formula to make a Single Column from multiple small Columns (Skipping Even Number Columns)
    By rexcel548562 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-30-2022, 08:21 AM
  2. Replies: 1
    Last Post: 02-12-2021, 07:21 PM
  3. [SOLVED] Formula to count matches between multiple columns on different sheets w/ multiple criteria
    By RICK JAMES in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-05-2019, 03:28 PM
  4. [SOLVED] INDEX Array Formula with multiple criteria in multiple columns, is it possible?
    By jparve3283 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-11-2016, 05:51 PM
  5. Array Formula Indexing multiple columns/multiple worksheets
    By cwhite86 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 11-19-2015, 02:19 PM
  6. Formula to Compare 2 Different Columns on a single Row Multiple Columns
    By dndgeez in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-05-2015, 04:11 AM
  7. Formula to lookup multiple text values in multiple columns
    By karimk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-04-2013, 05:33 AM

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