+ Reply to Thread
Results 1 to 4 of 4

Either or programming question

  1. #1
    Registered User
    Join Date
    06-30-2020
    Location
    Florida
    MS-Off Ver
    3
    Posts
    2

    Either or programming question

    I need help in excel to do the following:

    cell D = cell C, unless C is blank in which case D should = cell B

    Any tips?

    Thanks

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Either or programming question

    Perhaps this?

    =IF(C1="",B1,C1)

    Change the row number to suit your data.

    BSB

  3. #3
    Registered User
    Join Date
    06-30-2020
    Location
    Florida
    MS-Off Ver
    3
    Posts
    2

    Re: Either or programming question

    That worked perfectly. You saved me many hours of trial and error.
    Thanks

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Either or programming question

    No problem at all.. Happy to help

    Don't forget to mark the thread as SOLVED if you're happy you have a working solution.

    BSB

+ 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. Programming Question
    By twoboysdad in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2017, 03:44 PM
  2. Replies: 1
    Last Post: 03-03-2015, 10:16 AM
  3. Password Programming Question
    By bmelton in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2011, 05:44 AM
  4. Programming Question
    By ions in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-19-2008, 06:49 AM
  5. [SOLVED] Programming question
    By Kelly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2006, 03:10 PM
  6. Programming question
    By Kelly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2006, 12:55 PM
  7. Programming Question
    By leafsfan1967 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-17-2005, 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