+ Reply to Thread
Results 1 to 2 of 2

Trying to return text based on criteria if all the text is the same

  1. #1
    Registered User
    Join Date
    05-17-2019
    Location
    Bettendorf IA
    MS-Off Ver
    Excel 2016
    Posts
    1

    Trying to return text based on criteria if all the text is the same

    I need to show the Plant on a summary from a list of daily entries. The summary includes a sum of Ticket quantities and an average of Batched quantities based on a report number and design number. In addition I want to show the plant name if all the plant names are the same. If they are not the same then I want to show "Unmatched".

    What I can't figure out is how to have the plant names compared and if they are the same, show the plant name. Attached is an example of my data. I've highlighted what the results should be in the summary area.

    I'd like to stick to a formula, but am not adverse to using VBA if necessary.

    Thanks for any help.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010
    Posts
    907

    Re: Trying to return text based on criteria if all the text is the same

    The following formula in M6 then copied to your other highlighted cells matches your expected results.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    EDIT >>>>> This is an array formula and must be committed with CTRL-SHIFT-ENTER

    Maybe someone will come up with a more compact formula!

    The attached update of your workbook includes the above changes.
    Attached Files Attached Files
    Last edited by GeoffW283; 05-17-2019 at 09:53 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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