+ Reply to Thread
Results 1 to 5 of 5

how do I copy column if certain cell is greater than 0

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    74

    how do I copy column if certain cell is greater than 0

    I have a range of d1:p15 and I need to copy any column within that range if the value in cell 15 of that column is greater than 0, and paste it to the next available column in another sheet. it seems simple enough but I cant get it to work without copying every column if there are any cells in row 15 greater than 0. any ideas
    Last edited by gherzberg; 09-25-2012 at 09:28 AM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: how do I copy column if certain cell is greater than 0

    attach please a sample file
    If solved remember to mark Thread as solved

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: how do I copy column if certain cell is greater than 0

    Hi, gherzberg,

    something like this may get you started:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    07-11-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: how do I copy column if certain cell is greater than 0

    okay the range that needs to be copied is on the DaY sheet, needs to be copied to the wsh day sheet.
    Attached Files Attached Files

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: how do I copy column if certain cell is greater than 0

    Hi, gherzberg,

    I have a range of d1:p15 and I need to copy any column within that range if the value in cell 15 of that column is greater than 0...
    Values of 0.00 or blanks shall not be copied, maybe adept the code to:
    Please Login or Register  to view this content.
    Ciao,
    Holger

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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