Consulting

Results 1 to 4 of 4

Thread: Evaluate 3 columns of data and display 1 value in a 4th column

  1. #1

    Evaluate 3 columns of data and display 1 value in a 4th column

    I have a (hopefully) quick excel question.

    I have 3 columns of data that look like the following:

    Car 1 Match Car 2 Match Car 3 Match
    #N/A A #N/A
    #N/A #N/A B
    #N/A #N/A B
    S #N/A #N/A
    A #N/A #N/A
    #N/A A #N/A
    S #N/A #N/A

    This data is in 3 columns because I put in formulas that will extract the car identifier from other sheets with matching information. Now I need only 1 column that displays this information. I need a 4th column that will combine all of the sets so I have the following:
    Car 1 Match Car 2 Match Car 3 Match Car
    #N/A A #N/A A
    #N/A #N/A B B
    #N/A #N/A B B
    S #N/A #N/A S
    A #N/A #N/A A
    #N/A A #N/A A
    S #N/A #N/A S


    I need 1 column that will show me the car identifier. Any thoughts on how to do this?


    Thank you!

  2. #2
    VBAX Tutor
    Joined
    Mar 2014
    Posts
    210
    Location
    =IFNA(IFNA(IFNA("",C1),B1),A1)

  3. #3
    Ranman256 - thank you for your help. However, I received an error when doing this code (#VALUE). Do you know why?

  4. #4
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,726
    Location
    =IFERROR(A2,IFERROR(B2,IFERROR(C2,"None")))
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •