+ Reply to Thread
Results 1 to 3 of 3

Copy Value If Cell Value is Greater than 0.

  1. #1
    Forum Contributor
    Join Date
    10-10-2014
    Location
    New Jersey
    MS-Off Ver
    2010 & 2013
    Posts
    276

    Copy Value If Cell Value is Greater than 0.

    Hi All,

    I am trying to create a formula to copy an item number into column F if the cell in column D is greater than 0. The item numbers will be listed in A1:A1000. The formula should search column D, and copy the item number found in that row to the next blank cell in column F. The attachment has the results I am looking for.

    HELP EXAMPLE.xlsm

    Thanks for taking the time to help with this formula.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Copy Value If Cell Value is Greater than 0.

    In F2

    =IF(ROWS(A$1:A1)>COUNTIF($D$3:$D$11,">"&0),"",INDEX($A$3:$A$11,SMALL(INDEX(($D$3:$D$11>0)*(ROW($D$3:$D$11)-ROW($D$3)+1),),COUNTIF($D$3:$D$11,"<="&0)+ROWS(A$1:A1))))


    Copy down as far as needed
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Contributor
    Join Date
    10-10-2014
    Location
    New Jersey
    MS-Off Ver
    2010 & 2013
    Posts
    276

    Re: Copy Value If Cell Value is Greater than 0.

    Thanks Ace_XL. With a little tweaking it worked perfectly for my report. There could be as many as 1000 items listed so I just had to change the numbers to 1000.

+ 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. [SOLVED] copy a cell in a row if the value is greater then 0
    By Megatronixs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-09-2013, 08:53 AM
  2. [SOLVED] sumif greater than copy this value, Comm % wants to copy value to other cell
    By Bitto in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-29-2013, 09:22 AM
  3. [SOLVED] how do I copy column if certain cell is greater than 0
    By gherzberg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-25-2012, 11:11 AM
  4. Copy row to sheet if cell greater then 0
    By Mjaquez in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-08-2012, 04:00 AM
  5. Copy if cell greater then zero
    By Bob@Sun in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-26-2009, 03:56 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