+ Reply to Thread
Results 1 to 6 of 6

Need help with simple IF/THEN formula

  1. #1
    Forum Contributor
    Join Date
    12-07-2013
    Location
    Staten Island, New York
    MS-Off Ver
    Excel 2010
    Posts
    106

    Need help with simple IF/THEN formula

    Hi everyone. I want to set up a formula such that if the contents of cell A1 equals the number 650, that number is automatically copied (or, alternately, the other cell becomes equal) to cell H1.

    Can anyone give me a hand?

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Need help with simple IF/THEN formula

    Assuming I understood your question correctly, in whichever cell you want the rule to apply, try this:

    Please Login or Register  to view this content.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,422

    Re: Need help with simple IF/THEN formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Contributor
    Join Date
    12-07-2013
    Location
    Staten Island, New York
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Need help with simple IF/THEN formula

    The first formula produced a circular reference error. The second one worked. Thank you for helping me.

    There are 2 other small things I'd like to set up if possible. I noticed when I enter the formula and hit enter that the cell then presents a 0 which sits there until the condition (cell A1=650) is satisfied. Is there a way to keep the cell blank unless the condition is satisfied?

    Also, if cell A1 is deleted (the number 650 is removed), the 650 remains in cell H1. I want H1 to become blank again if A1 becomes blank. Is this hard to set up?

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

    Re: Need help with simple IF/THEN formula

    Try

    =IF(A1=650,A1,"")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  6. #6
    Forum Contributor
    Join Date
    12-07-2013
    Location
    Staten Island, New York
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Need help with simple IF/THEN formula

    That works perfectly. Thank you very much!

+ 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. Replies: 4
    Last Post: 12-07-2012, 11:49 AM
  2. Simple If/Then with And Formula
    By lj8675309 in forum Excel General
    Replies: 3
    Last Post: 04-23-2012, 02:27 PM
  3. [SOLVED] simple formula
    By Biff in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 09-06-2005, 10:05 AM
  4. Help with what should be a simple formula
    By N Harkawat in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 07:05 AM
  5. Help with what should be a simple formula
    By B Millar via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 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