+ Reply to Thread
Results 1 to 3 of 3

TEXTJOIN and IF Conditions for different columns

  1. #1
    Registered User
    Join Date
    10-24-2022
    Location
    Philippines
    MS-Off Ver
    2019
    Posts
    6

    TEXTJOIN and IF Conditions for different columns

    Hello.

    Using TEXTJOIN, I would like to combine indicators from different cells into a single cell but with different IF conditions:

    A. List of indicators with less than 100% accomplishment
    B. List of indicators with over 100% accomplishment
    C. List of indicators with 0% accomplishment

    The indicator with no accomplishment percentage should be excluded from any of the lists generated. If an indicator has an empty cell in the percentage column, the TEXTJOIN result should exclude it.

    This is my current formula for List A: {=TEXTJOIN(CHAR(10),TRUE,IF(E2:E9<100%,B2:B9,""))}
    It works but the resulting list includes zeroes to represent empty cells in the Indicator Column. How can this be prevented?

    Thank you for your assistance.

    Screenshot (3973).png
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: TEXTJOIN and IF Conditions for different columns

    Not sure did I understood correctly.
    Please try these array formula.

    =MID(Concat(IF((ISNUMBER($E$2:$E$9)*($E$2:$E$9>0)*($E$2:$E$9<100%)),CHAR(10)&$B$2:$B$9,"")),2,4096)
    =MID(Concat(IF((ISNUMBER($E$2:$E$9)*($E$2:$E$9>=100%)),CHAR(10)&$B$2:$B$9,"")),2,4096)
    =MID(Concat(IF((ISNUMBER($E$2:$E$9)*($E$2:$E$9=0)),CHAR(10)&$B$2:$B$9,"")),2,4096)

    Regards.

  3. #3
    Registered User
    Join Date
    10-24-2022
    Location
    Philippines
    MS-Off Ver
    2019
    Posts
    6

    Re: TEXTJOIN and IF Conditions for different columns

    Thank you, menem.

    The array formulas do work. Empty cells from Column B did not return 0. However, if a cell from Column E is 0%, the indicator is also excluded. To fix this, I changed the middle of the array formula like this: =MID(Concat(IF((ISNUMBER($E$2:$E$9)*($E$2:$E$9<>"")*($E$2:$E$9<100%)),CHAR(10)&$B$2:$B$9,"")),2,4096)

    Thank you so much for your help. My problem is solved.

+ 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] TEXTJOIN 2 dynamic columns into 1 and return dynamically
    By dluhut in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-22-2022, 04:55 PM
  2. Textjoin with Multiple If conditions in same range
    By saxena_mk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-23-2022, 05:19 AM
  3. [SOLVED] Textjoin two columns without an additional helper-Column
    By MinisoftEggshell in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-28-2022, 01:13 PM
  4. [SOLVED] TextJoin with All Value From Rows And Different Columns
    By lkerwei in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-21-2019, 01:50 AM
  5. Use two conditions in textjoin function in excel 2013.
    By magfas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2018, 04:42 PM
  6. Textjoin?
    By johandenver in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 10-01-2017, 03:18 PM
  7. [SOLVED] Advanced Filter Between Two Columns all OR conditions (4 conditions)
    By nobodyukno in forum Excel General
    Replies: 2
    Last Post: 02-16-2017, 01:13 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