+ Reply to Thread
Results 1 to 9 of 9

Need formula assistance

  1. #1
    Registered User
    Join Date
    09-23-2014
    Location
    Dubai, UAE
    MS-Off Ver
    2013
    Posts
    81

    Need formula assistance

    File attached
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-16-2016
    Location
    Greece
    MS-Off Ver
    2013
    Posts
    69

    Re: Need formula assistance

    You've added no information about what you're trying to accomplish here...

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Need formula assistance

    Hi,

    Welcome to the forum.

    You would need array formula for this.

    Try the following in B11:
    =IFERROR(SUBSTITUTE(INDEX($A$4:$O$4,SMALL(IF(RIGHT($A$4:$O$4,3)="[E]",COLUMN($A$5:$O$5)),ROW(A1)))," [E]",""),"")

    In C11:
    =IFERROR(SUBSTITUTE(INDEX($A$4:$O$4,SMALL(IF(RIGHT($A$4:$O$4,3)="[I]",COLUMN($A$5:$O$5)),ROW(B1)))," [I]",""),"")

    both array entered (to be confirmed by pressing CTRL+SHIFT+ENTER)

    see the attached file!
    Attached Files Attached Files

  4. #4
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Need formula assistance

    =IFERROR(SUBSTITUTE(INDEX($A$4:$BI$4,SMALL(IF(ISNUMBER(SEARCH("[E]",$A$4:$BI$4)),COLUMN($A$4:$BI$4)),ROWS($A$1:$A1)))," [E]",""),"") as array formula

  5. #5
    Registered User
    Join Date
    09-23-2014
    Location
    Dubai, UAE
    MS-Off Ver
    2013
    Posts
    81

    Re: Need formula assistance

    Thanks for your help and do apologize for the wrong example given.

    I am using a database so I just mentioned a single line as an example.

    How can I use this formula to collect data from the database ,based on given criteria (Column A11)

    Revised file attached.

  6. #6
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Need formula assistance

    Try the following in B11:

    =IFERROR(SUBSTITUTE(INDEX(INDEX($A$3:$O$8,MATCH($A$11,$A$3:$A$8,0),1):INDEX($A$3:$O$8,MATCH($A$11,$A$3:$A$8,0),15),SMALL(IF(RIGHT(INDEX($A$3:$O$8,MATCH($A$11,$A$3:$A$8,0),1):INDEX($A$3:$O$8,MATCH($A$11,$A$3:$A$8,0),15),3)="[E]",COLUMN($A4:$O4)),ROW(A1)))," [E]",""),"")

    C11:
    =IFERROR(SUBSTITUTE(INDEX(INDEX($A$3:$O$8,MATCH($A$11,$A$3:$A$8,0),1):INDEX($A$3:$O$8,MATCH($A$11,$A$3:$A$8,0),15),SMALL(IF(RIGHT(INDEX($A$3:$O$8,MATCH($A$11,$A$3:$A$8,0),1):INDEX($A$3:$O$8,MATCH($A$11,$A$3:$A$8,0),15),3)="[I]",COLUMN($A4:$O4)),ROW(B1)))," [I]",""),"")

    both array entered (CTRL+SHIFT+ENTER).

    See the attached file.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-23-2014
    Location
    Dubai, UAE
    MS-Off Ver
    2013
    Posts
    81

    Re: Need formula assistance

    Yes. It's working now.
    Thank you verymuch

  8. #8
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Need formula assistance

    You are welcome

    If that takes care of your question, please mark this thread as Solved by selecting Thread Tools --> Mark thread as solved.

  9. #9
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need formula assistance

    Only just picked this up but will you both please note forum rule 1 about thread titles. This one is not acceptable.

    @ abdumon. Please edit your first post and change the title to something more meaningful so that others who may search the subject later may benefit.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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] assistance to merge 2 formula trim, substitute, len as one formula
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-06-2017, 05:37 AM
  2. Excel formula - need assistance with challenging formula or table
    By m masi in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-05-2017, 08:19 AM
  3. Formula Assistance
    By msexcelnoob in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-07-2016, 08:40 PM
  4. Assistance with CountIF formula and additional formula conditions
    By solios in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-18-2016, 01:46 PM
  5. IF Formula Assistance
    By Kariam in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-24-2014, 11:06 PM
  6. Assistance with formula
    By hcubed in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-22-2014, 07:47 PM
  7. Formula Assistance
    By Dawn V in forum Excel General
    Replies: 6
    Last Post: 04-02-2008, 01:24 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