+ Reply to Thread
Results 1 to 10 of 10

A way if removing blanks from a row

  1. #1
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409

    A way if removing blanks from a row

    Hi I have data in a row D5-S5 like a, b, , c, , d, etc so with blanks in it. I would like to make it into a, b, c, d with no blanks. I don't want to just use a filter to take the blanks out.

    Any help would be appriciated

    Dave
    Last edited by Throughstream; 04-23-2017 at 01:09 PM.

  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 2406
    Posts
    44,662

    Re: Array formuale

    Do you want the results in a ROW or in a COLUMN?
    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
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,058

    Re: Array formuale

    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)

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Array formuale

    If in a column (in d8):

    =IFERROR(INDEX(5:5,SMALL(IF($D$5:$S$5<>"",COLUMN($D$5:$S$5)),COLUMNS($D8:D8))),"")

    array entered.

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    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

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Array formuale

    Apols zbor... Our posts crossed in cyberspace..

  6. #6
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,785

    Re: Array formuale

    Misille had been fired before defense system was installed.
    Teach me Excel VBA

  7. #7
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409
    Quote Originally Posted by Glenn Kennedy View Post
    Do you want the results in a ROW or in a COLUMN?
    Hi In a row please, so u5,v5 etc

    Many thanks
    Last edited by Throughstream; 04-23-2017 at 01:10 PM.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: A way if removing blanks from a row

    So use this:

    =IFERROR(INDEX(5:5,SMALL(IF($D$5:$S$5<>"",COLUMN($D$5:$S$5)),COLUMNS($U5:U5))),"")

    array entered, as described above.




    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  9. #9
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409

    Re: A way if removing blanks from a row

    Thank you.

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: A way if removing blanks from a row

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Convert the Summary Tab from Formuale to VBA
    By mvinay in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-23-2013, 03:42 AM
  2. Time card preaparation- formuale error
    By pio_proenca in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-02-2013, 08:56 AM
  3. Copy down adjacent formuale using VBA (multiple columns)
    By lucasreece in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2010, 11:34 AM
  4. Superscript as part of Concatenate Formuale
    By ernestgoh in forum Excel General
    Replies: 2
    Last Post: 08-04-2010, 12:39 PM
  5. How can I input a formuale with a condition?
    By Garashta in forum Excel General
    Replies: 3
    Last Post: 11-25-2008, 09:33 PM
  6. Formuale to track numbers sequence, change the colour of the font
    By nimbi in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-17-2008, 01:03 PM
  7. [SOLVED] SUMIF Formuale with 2 variables
    By CiaraG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-15-2006, 10:15 AM
  8. SUM IF Formuale
    By CiaraG in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-10-2006, 11:35 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