+ Reply to Thread
Results 1 to 3 of 3

formula to copy contents of a cell to another based on condition.

  1. #1
    Registered User
    Join Date
    11-25-2008
    Location
    Skippack, Pa.
    Posts
    11

    formula to copy contents of a cell to another based on condition.

    Hello
    Here is what I would like to do.
    In cell C2 create a formula to do the following:
    if cell A32 is <=0, copy cell B31 to B32.
    if cell A32 is >0, do nothing.
    Thank you very much.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: formula to copy contents of a cell to another based on condition.

    You can't have a formula in C2 which copies data into cell B32.

    Perhaps you want a formula in B32 like this:

    =IF(A32<=0,B31,"")

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-25-2008
    Location
    Skippack, Pa.
    Posts
    11

    Re: formula to copy contents of a cell to another based on condition.

    Thank you very much Pete. Your formula works but it isn't what I need. I'll try to figure another way around this.

+ 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. Clear cell contents of drop down box based on condition
    By Pami in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-29-2015, 12:05 PM
  2. Replies: 1
    Last Post: 08-21-2014, 05:19 PM
  3. [SOLVED] Copy only part of a cells contents based on a condition...
    By Aris in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-06-2014, 06:20 PM
  4. [SOLVED] Copy Paste Contents based on contents in designated cell
    By nickmessick1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2014, 01:23 PM
  5. need to copy some cells contents to a another worksheet based on a value condition
    By Mochmoch in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-19-2013, 10:39 AM
  6. Macro to copy the contents of a cell based on certain condition
    By Newbiee in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-09-2009, 01:29 AM
  7. Replies: 4
    Last Post: 06-04-2009, 04:56 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