+ Reply to Thread
Results 1 to 6 of 6

Looking for a formula to choose between 2 cells

  1. #1
    Forum Contributor
    Join Date
    11-03-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    246

    Looking for a formula to choose between 2 cells

    Hi I have a number in A1 that changes based on data on another sheet, now and again I need to temporarily override it and input another number.
    Would it be possible to input temp number which is always a lower number in to B1 and and have excel choose B1 if the cell is populated?

    Help as always is much appreciated.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Looking for a formula to choose between 2 cells

    Hi,

    Your post implies that A1 is a formula. In which case you could build in an IF test . i.e.

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

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  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,962

    Re: Looking for a formula to choose between 2 cells

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


    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 Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Looking for a formula to choose between 2 cells

    It would be helpful to see a sample workbook of what you have and want, but I'm going to give it a go anyway.
    I assume there's a formula in A1 already which is probably something like =Sheet2!B2 or something similar? you could add to that formula to and IF formula, like this...
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  5. #5
    Forum Contributor
    Join Date
    11-03-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    246

    Re: Looking for a formula to choose between 2 cells

    Thank you all, thank you gmr4evr1 your suggestion was the only one I could get to work. Problem solved :-)

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Looking for a formula to choose between 2 cells

    You're welcome, glad it worked for you.

+ 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. Need Help with formula to choose between two cells dependent on a third
    By racefan91 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-27-2015, 12:20 PM
  2. Replies: 10
    Last Post: 05-06-2014, 04:40 PM
  3. [SOLVED] Formula help to choose lowest cost from multiple vendors and then choose vendor
    By roland_arv in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-27-2013, 07:48 PM
  4. [SOLVED] Choose a Months, and Cells change to those dates Formula
    By ashhm in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-21-2012, 07:21 PM
  5. Formula: Drop Down List -> Choose Option Finds Cells & Replace Cells with Cells
    By g00glethis1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-14-2010, 01:10 PM
  6. Choose part of a cells value via formula
    By nimbo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-20-2007, 05:40 AM
  7. [SOLVED] Choose between two cells the lower result of a formula
    By Michael Zullo via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2005, 03: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