+ Reply to Thread
Results 1 to 5 of 5

Need formula to bring data (If or any conditions)

  1. #1
    Registered User
    Join Date
    05-27-2014
    Location
    Manchester
    MS-Off Ver
    2007, 2010
    Posts
    73

    Red face Need formula to bring data (If or any conditions)

    Hi All,

    Attahced pls find file, need help on conditions formula to bring data.

    I have customers name in file & want customer with the begining name Pentair to be called "Intercompany" in column "F" and rest of classed as "Direct".

    I used "if" formula but it only works if i put whole customer name in formula instead of begining 1st word. Any formula to work for required request will be appreciated.

    Thanks for help

    Regards
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Need formula to bring data (If or any conditions)

    =IF(LEFT(B2,7)="Pentair","Intercompany","Direct")
    and copy down the column
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Need formula to bring data (If or any conditions)

    Hi,

    In column F, try,
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Edit : Note the change in above formula, added a *, inorder to check if the word Pentair occurs inbetween in a customer name in column B.
    Last edited by Saarang84; 07-18-2014 at 05:22 AM.
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  4. #4
    Registered User
    Join Date
    05-27-2014
    Location
    Manchester
    MS-Off Ver
    2007, 2010
    Posts
    73

    Re: Need formula to bring data (If or any conditions)

    Your are gr8, Thanks for help

  5. #5
    Registered User
    Join Date
    05-27-2014
    Location
    Manchester
    MS-Off Ver
    2007, 2010
    Posts
    73

    Re: Need formula to bring data (If or any conditions)

    Thanks for help genius

+ 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. Array Formula Lookup - Bring back Lowest Date + Bring Back Cell Location
    By Matt1998 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2014, 12:08 PM
  2. Need a formula to pull data from another tab with 2 conditions
    By hillnoft in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2014, 04:02 PM
  3. Replies: 1
    Last Post: 02-14-2012, 03:41 AM
  4. Formula to Find same data in a second workbook and bring associated data
    By nzginga in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-21-2011, 03:39 PM
  5. Bring over only data
    By jayclinton in forum Excel General
    Replies: 1
    Last Post: 03-23-2010, 08:51 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