+ Reply to Thread
Results 1 to 7 of 7

Formula Problem

  1. #1
    Registered User
    Join Date
    12-24-2017
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    17

    Formula Problem

    Hi All,

    Sorry for the simple title, I dont know how to best describe my problem and would love it if someone could help me out. I'l try my best to explain.

    Untitled.png

    I have a table in which orders have been completed (not in specific order). X person is in column 'A' and all the 'ABC' followed by numbers is their completed parts. The 'ABC' alone is if for some reason they are not able to find/complete the part. These are all imported from another sheet which has been concatenated (ABC in the 1st column then the part number in the 2nd column). E.G. Sheet 1/Column A = ABC all the way down, Sheet 1/Column B = Completed part number (left blank if not completed). This info then concatenates into Sheet 3 to form the above information (attachment).

    My question is:

    Is it possible to just list the completed ones for each person, I have tried to do macro to delete and shift up if only returns 'ABC' but had no luck nor can I just filter out 'blanks' as their not actually blank due to IF formulas (IF(X="","",X).

    I was hoping their would be a formula to use preferable to do this so it will look like the following (doesnt return the 'ABC' only:

    1.png

    Sorry if this is confusing it's hard for me to explain it but any help would be greatly appreciated.

    IJY.

  2. #2
    Registered User
    Join Date
    10-12-2017
    Location
    Brazil
    MS-Off Ver
    2016
    Posts
    59

    Re: Formula Problem

    Hello.
    I used an array formula to bring the result as per your demonstration.
    I also used an auxiliary cell to avoid using the "iferror" function.
    Remember that formulas must be terminated with CTRL + SHIFT + ENTER
    See if it helps.


    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    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,036

    Re: Formula Problem

    I do not understand why you want to avoid using IFERROR. You avoid the helper cell and you can have a formula that is easily dragged across and down. use this in D2, array enter and copy across and down.

    =IFERROR(INDEX(A:A,SMALL(IF(A$2:A$10<>"ABC",ROW(A$2:A$10)),ROWS(D$2:D2))),"")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    10-12-2017
    Location
    Brazil
    MS-Off Ver
    2016
    Posts
    59

    Re: Formula Problem

    is a matter of preference only.
    Both methods bring the same results
    Last edited by AliGW; 12-25-2017 at 03:33 AM. Reason: Unnecessary quotation removed.

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula Problem

    You can also use a regular formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  6. #6
    Registered User
    Join Date
    12-24-2017
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    17

    Re: Formula Problem

    Thanks, I have tried both and they work on a basic version of the spreadsheet but unfortunately wont be able to fully try it until after the festive period (had to recreate a basic version).

    Alkey, yours only seemed to work when I reverted the > to < (not sure if this will be ok).
    Gfranco, Unfortunately it didnt like your formula, stating that there was an error with the $C$1 part.
    Last edited by AliGW; 12-25-2017 at 03:34 AM. Reason: Unnecessary quotations removed.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Formula Problem

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Replies: 1
    Last Post: 01-06-2014, 03:54 AM
  2. Replies: 7
    Last Post: 02-03-2013, 06:25 PM
  3. Replies: 2
    Last Post: 01-22-2013, 07:09 AM
  4. Problem reading formula with ActiveCell.Formula
    By Matija in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2011, 06:10 AM
  5. Formula Problem
    By realniceguy5000 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-28-2009, 12:14 PM
  6. Need:formula problem
    By legepe in forum Excel General
    Replies: 5
    Last Post: 08-06-2006, 02:12 PM
  7. formula Problem
    By Little Willie in forum Excel General
    Replies: 2
    Last Post: 08-17-2005, 12:05 AM
  8. help:formula problem
    By Kevin in forum Excel General
    Replies: 1
    Last Post: 04-13-2005, 10:06 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