+ Reply to Thread
Results 1 to 4 of 4

Help creating a list that ignores NIL values

  1. #1
    Registered User
    Join Date
    12-23-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Office 365 for Mac
    Posts
    23

    Help creating a list that ignores NIL values

    Hello all,

    I have a series of values with narratives (columns A & B) which I want to be able transpose into another sheet but ignoring NIL values as follows:

    John 235.78
    Mike 0.00
    Fred 0.00
    Andy 167.98
    Paul 0.00
    Will 54.12
    I'd like transpose the data to another sheet so it will appear on consecutive rows as follows:

    John 235.78
    Andy 167.98
    Will 54.12
    I'd like to use formulae rather than code if possible but I'm not sure if this is possible ....

    As always, any help given would be greatly appreciated, thank you!

  2. #2
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Help creating a list that ignores NIL values

    add a helper column into a leading column.

    Formula would be something like this If you insert a new column into A

    Please Login or Register  to view this content.
    Then drag the formula down as far as your list.

    You can now perform Lookups based on 1 2 3 4 5 and get the list without anyone with a "NIL" value in the C column.

    Be sure to add a header to your A column when you insert it in "Helper" or something meaningful like Lookup Value. Otherwise that formula will start your count at -1

    Cheers
    -If you think you are done, Start over - ELeGault

  3. #3
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Help creating a list that ignores NIL values

    Hi

    You got 2 choice to choose

    Large array formula

    Sheet2
    B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is array formula, Press same time Ctrl+Shift+Enter, NOT ENTER! then copy down
    A2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Again array formula, Press same time Ctrl+Shift+Enter, NOT ENTER! then copy down

    Index, Small and Row
    B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Array formula Ctrl+Shift+Enter then copy down and cross

    See the file

    Regard
    Attached Files Attached Files
    Last edited by micope21; 12-31-2014 at 06:11 AM.
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  4. #4
    Registered User
    Join Date
    12-23-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Office 365 for Mac
    Posts
    23

    Re: Help creating a list that ignores NIL values

    Quote Originally Posted by ELeGault View Post
    add a helper column into a leading column.
    I wanted a more 'one stop' solution; this has however fortuitously assisted me to improve the functionality of another workbook, thank you!


    Quote Originally Posted by micope21 View Post
    Hi

    You got 2 choice to choose

    Large array formula
    Excellent solution thank you; I guessed it would involve array formulae but they're a little beyond my level. I've implemented this and adapted it to incorporate more information and it seems to be working a treat - thanks again!

+ 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. Average Calc that ignores low values
    By Perch in forum Excel General
    Replies: 1
    Last Post: 09-05-2014, 09:53 AM
  2. [SOLVED] A Conditional formula that adds values in column but ignores other values
    By Damo666 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-20-2014, 12:57 PM
  3. Replies: 2
    Last Post: 07-11-2012, 08:58 AM
  4. Data Validation List That Ignores The Blank Cells
    By nevi in forum Excel General
    Replies: 4
    Last Post: 06-12-2008, 03:54 PM
  5. [SOLVED] Autosum ignores cell values
    By D in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-16-2005, 09:07 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