+ Reply to Thread
Results 1 to 3 of 3

Get all cells that are > zero dragged across

  1. #1
    Forum Contributor
    Join Date
    12-11-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    232

    Get all cells that are > zero dragged across

    Hi all quick and fast since I'm in a hurry :P


    A B C D E
    0 10 0 3 9

    I need a formula that I can put in A3 and drag right that will show:

    A B C D E
    10 3 9

    I can use
    Please Login or Register  to view this content.
    and get the 1st greater than zero, but I can't figure out something to drag to the right.



    Thanks for the help!

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Get all cells that are > zero dragged across

    Try this array formula:
    Please Login or Register  to view this content.
    Confirmed with Ctrl-shift-enter
    Quang PT

  3. #3
    Forum Contributor
    Join Date
    12-11-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    232

    Re: Get all cells that are > zero dragged across

    Hiya Bebo!

    That formula works great on my example, but when I tried to change up some things I just get a blank. Can you point out what i'm doing wrong?

    Please Login or Register  to view this content.
    using Ctrl Shift Enter for an array.

    Edit, so the column function is the reason its not working, at least I figured that out, not sure how to fix it, but I know what wrong :P

    Edit #2
    Fixed it, I had to change the index rage since coloumn counts the sheet not the range. Problem fixed. Thanks for in guidance Bebo, I have now learned a new trick and strangly enough a bit better understanding of an arrays!
    Last edited by nemo74; 01-06-2014 at 04:27 PM.

+ 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. lock cells from being moved but allow formula to still be dragged down
    By david1987 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2013, 04:46 AM
  2. Excel 2007 : How do I show a dragged formula as zero?
    By fithawk in forum Excel General
    Replies: 1
    Last Post: 05-02-2012, 04:26 AM
  3. Cells reference won't update when dragged down
    By benedictexcel in forum Excel General
    Replies: 5
    Last Post: 02-09-2012, 11:19 AM
  4. Formula not changing when Dragged!!!!
    By aposatsk in forum Excel General
    Replies: 2
    Last Post: 08-17-2006, 09:55 AM
  5. [SOLVED] Message Box bleeds when dragged
    By Modell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-23-2006, 04:40 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