+ Reply to Thread
Results 1 to 4 of 4

Looking specific text in three columns at the same time

  1. #1
    Registered User
    Join Date
    02-12-2014
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2013
    Posts
    11

    Looking specific text in three columns at the same time

    Hi Everybody!

    I’ve been struggling with creating a formula for my spreadsheet. I need to look for situations where both apples and oranges are delivered by truck to the same store. Then I want to make a note of that situation on the lines with apples or oranges only.

    The spreadsheet that I'll use this formula in has around 20,000 lines. I'll use the formula to manipulate the data in the lines that have the 'Apples and Oranges delivered by truck present' note.

    Does anybody have an idea on how to make this work?

    Thanks so much!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Looking specific text in three columns at the same time

    not entirely sure what you are trying to do
    does this give you want?
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or did you only want that statement on apples and oranges
    like so

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,509

    Re: Looking specific text in three columns at the same time

    In D2

    =IF(AND(B2="Truck",OR(C2="Apples",C2="Oranges")),IF(COUNTIFS(A:A,A2,B:B,B2,C:C,"Apples")=COUNTIFS(A:A,A2,B:B,B2,C:C,"Oranges"),"Together",""),"")

  4. #4
    Registered User
    Join Date
    02-12-2014
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2013
    Posts
    11

    Re: Looking specific text in three columns at the same time

    Awesome! Thanks Humdingaling and JohnTopley! Both those formulas worked!

    (I tried to give both of you reputation but it wouldn't let me give it to John...so sorry.)

+ 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. [SOLVED] copy row with text in specific colum inbeween othre rows with text in other columns
    By Louisa Venter in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-14-2015, 12:07 AM
  2. Copying text at a specific time
    By Benno103 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-12-2015, 06:30 AM
  3. [SOLVED] Search through columns and find specific text and replace that text with header column
    By adamzee in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-09-2014, 11:59 PM
  4. [SOLVED] fill down specific columns with specific text
    By Excelsemi in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-03-2014, 08:04 AM
  5. Programming to automatically send text to specific sheets and specific columns.
    By GlobalExcelller in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2014, 10:07 PM
  6. Delete 1 to 8 rows. Do text to columns to specific columns.
    By niceblue in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-06-2013, 10:53 AM
  7. Replies: 1
    Last Post: 08-22-2006, 12:30 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