+ Reply to Thread
Results 1 to 10 of 10

8 Columns with empty cells -> 1 Column without empty cells -> Problem: 1st value ignored

  1. #1
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    8 Columns with empty cells -> 1 Column without empty cells -> Problem: 1st value ignored

    Hello.

    I got 8 columns that may or may not contain values.
    In column 9 I want to have a list with each value of the 8 columns, but without any empty cells.

    Example here:
    TXGLr0I.png

    The problem is that the first value of the 8columns is always ignored. If for example column A would only have empty cells in this case, but the rest would be the same, the list would start at ABCb2 instead of ABCb1.

    I'm using this formula:
    Please Login or Register  to view this content.
    English:
    Please Login or Register  to view this content.
    I have the code from:
    http://www.excelformeln.de/formeln.html?welcher=315 (the one at the very bottom)

    The problem is that I had to change all the 1's to 2's since I have a "title cell" -> title A, title B, etc.

    I'm assuming this causes my formula to fail. Any help appreciated

  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 2403
    Posts
    44,054

    Re: 8 Columns with empty cells -> 1 Column without empty cells -> Problem: 1st value ignor

    Hi. I can't see your image. Please attach an excel sheet instead...
    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

  3. #3
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: 8 Columns with empty cells -> 1 Column without empty cells -> Problem: 1st value ignor

    excel22.xlsx

    here you go!

    edit: i forgot to put the formula down in column I, but you can see already that the first value is ignored.
    Last edited by chrisignm; 09-22-2015 at 12:55 PM.

  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 2403
    Posts
    44,054

    Re: 8 Columns with empty cells -> 1 Column without empty cells -> Problem: 1st value ignor

    Hi again. That's better !!! I can see it. So, is this what you had in mind? I used a named range (use CTRL F3 to see it - it's there just to keep the formula "simpler"!!) to cover all the cells that have a possible entry and a bit of a monster formula to return a lst of values (in alphabetical order). It's an array formula.

    Array Formulae are a little different from ordinary formulas 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 braces { } appear around the outside of your formula. If you do not 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 braces yourself - it won't work...
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: 8 Columns with empty cells -> 1 Column without empty cells -> Problem: 1st value ignor

    Thank you very much, it works Is there just a possibility to shift the first value to the first position in the List? Now it's always in the last position.

    my bad, its just alphabetic. thank you!
    Last edited by chrisignm; 09-22-2015 at 02:15 PM.

  6. #6
    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,054

    Re: 8 Columns with empty cells -> 1 Column without empty cells -> Problem: 1st value ignor

    I'll check tomorrow... Most folk want these lists arranged alphabetically. It's wine o'clock here in rural France: so no point in offering any suggestions now.

  7. #7
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: 8 Columns with empty cells -> 1 Column without empty cells -> Problem: 1st value ignor

    Haha sure, enjoy it!

    --

    I tried it now with real values and the first value in the Final List is always empty. I attached the document. Maybe you have any idea why? excel22 (4).xlsx

    edit: I found the origin of the problem, but don't have a solution yet. The empty cells from my formulas are not really empty. Its merely the result of an IF-formula -> Those cells contain ""
    It's easy to check with the function ISBLANK()

    Just add this to your table in a random cell:
    Please Login or Register  to view this content.
    ... you will now see what i mean!

    Is there a way to make cells really blank if its due to a result from a formula?
    Last edited by chrisignm; 09-22-2015 at 05:40 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 2403
    Posts
    44,054

    Re: 8 Columns with empty cells -> 1 Column without empty cells -> Problem: 1st value ignor

    OK. Another day, another array formula monster. This is simply a series of nested formulae, going across - one column at a time. It returns values int he order that it finds them and ignores formula-induced blanks. OK?

    There may be a neater way, but I can't bring it to mind...

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 09-23-2015 at 02:46 AM.

  9. #9
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: 8 Columns with empty cells -> 1 Column without empty cells -> Problem: 1st value ignor

    Perfect, perfect, perfect! Thanks a lot

  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 2403
    Posts
    44,054

    Re: 8 Columns with empty cells -> 1 Column without empty cells -> Problem: 1st value ignor

    Glad to have helped! 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 those 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. Replies: 1
    Last Post: 07-20-2015, 02:27 PM
  2. [SOLVED] excel 2010 empty a cell according to other cells (without Deleting them just show empty)
    By pavlos_x in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-11-2015, 01:46 PM
  3. Replies: 5
    Last Post: 05-13-2014, 10:19 AM
  4. Need to find empty filled cells in a column and copy to the empty cell below
    By Grahamfeeley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2014, 10:09 AM
  5. Replies: 2
    Last Post: 03-23-2013, 11:53 AM
  6. Replies: 2
    Last Post: 04-02-2012, 04:43 AM
  7. macro to colour empty cells (cells not recognized as empty)
    By Gerben in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-30-2005, 11:05 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