+ Reply to Thread
Results 1 to 7 of 7

Populate Name and Date for one status only from a list of different status

  1. #1
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Populate Name and Date for one status only from a list of different status

    Hi

    There a 3 different statused in another table for 1 ticket but I just need show the name and date for status="Approved-CM" only in the master table.

    I tried using this formula but it's not working
    =IFERROR(INDEX(WOHistoryName,MATCH(1,--(WOHistoryStatus="Approved-CM")*--(WOHistoryID=A3),0)),"")

    Attached is the example of the file. Please advise. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Populate Name and Date for one status only from a list of different status

    Can you explain what's not working and give your expected outcomes?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Populate Name and Date for one status only from a list of different status

    Try
    F3=IFERROR(INDEX(WOHistoryName,MATCH(1,INDEX(--(WOHistoryStatus="Approved-CM")*--(WOHistoryID=A3),),0)),"") and drag over and down

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    After paste the formula press F9 key.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  4. #4
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Re: Populate Name and Date for one status only from a list of different status

    Thank you. The formula is working beautifully.

    I know a simple index match but I don't understand why need to add an index within the match. Can anyone please explain.

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Populate Name and Date for one status only from a list of different status

    To avoid array formula (Shift+Ctrl+Enter)
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Populate Name and Date for one status only from a list of different status

    @Suchetherrah, Shiv is absolutely right - for avoiding the array key stroke(CSE) I have used index for lookup array only. And thanks for feedback, hppy to help you

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Populate Name and Date for one status only from a list of different status

    Using an additional INDEX function to avoid array entry doesn't make the formula more efficient.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. status count with query type omitting one status
    By Naheed in forum Excel General
    Replies: 15
    Last Post: 06-24-2015, 09:12 AM
  2. Replies: 3
    Last Post: 09-11-2014, 04:32 PM
  3. Need to get data to populate from one worksheet to another based on status
    By Mikhal4excel in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-30-2014, 02:31 PM
  4. arrange data to show different billing status and customer status
    By applesandpears in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-29-2012, 05:57 PM
  5. Replies: 4
    Last Post: 04-08-2012, 09:43 PM
  6. Replies: 1
    Last Post: 06-01-2006, 01:15 PM
  7. Need a msg box that displays time status or loading status
    By havocdragon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2005, 01:06 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