+ Reply to Thread
Results 1 to 4 of 4

Pick a date from 3 different columns

  1. #1
    Registered User
    Join Date
    03-19-2024
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2

    Pick a date from 3 different columns

    Hi

    New to the forum and looking for help.

    I need to pick a date from 3 different columns.

    If A1 has a date, Use A1, Else If B1 has a date, use B1, Else if C1 has a date use C1, Else None.

    Hope you can help.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,748

    Re: Pick a date from 3 different columns

    example spreadsheet attached

    what would be in the cell , will it ONLY be blank OR a date
    or does the date come from a formula ? and so all the cell has a formula in it , and some are set to ""

    a few ways to do this - BUT a nested IF is one

    =IF( A1<>"", A1, IF( B1<>"", B1, IF( C1<>"", C1 , "" )))

    The forum does allow for spreadsheets to be uploaded direct to the forum -

    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    HOW TO ATTACH YOUR SAMPLE WORKBOOK:, Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    03-19-2024
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Pick a date from 3 different columns

    Legend. Thank you. just what I was looking for.

    I will add some sample files in the future.

    Quote Originally Posted by etaf View Post
    example spreadsheet attached

    what would be in the cell , will it ONLY be blank OR a date
    or does the date come from a formula ? and so all the cell has a formula in it , and some are set to ""

    a few ways to do this - BUT a nested IF is one

    =IF( A1<>"", A1, IF( B1<>"", B1, IF( C1<>"", C1 , "" )))

    The forum does allow for spreadsheets to be uploaded direct to the forum -

    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,748

    Re: Pick a date from 3 different columns

    you are welcome

+ 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. [U]Filter Data by Upload date, and pick the record for the latest date[/U]
    By faizanahmad in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 01-23-2024, 12:07 PM
  2. Replies: 17
    Last Post: 05-30-2023, 02:35 AM
  3. [SOLVED] pick up certain value from columns
    By guanqiao in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-17-2017, 03:34 PM
  4. Pick date, search matching date in table en show row in userform
    By jonas-martens in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-19-2017, 11:41 AM
  5. [SOLVED] pick end of month date from daily date
    By mohin306 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2015, 06:44 PM
  6. Replies: 9
    Last Post: 01-12-2015, 01:47 PM
  7. how to force a date field to be entered so my pop up calendar appears to pick date
    By cmwilbur in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-29-2010, 10:19 AM

Tags for this Thread

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