+ Reply to Thread
Results 1 to 5 of 5

Text String search with Min value slab vendor base

  1. #1
    Registered User
    Join Date
    04-29-2015
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    54

    Lightbulb Text String search with Min value slab vendor base

    Hi,
    I have a simulation:

    Col.A Col.B Col.C Col.D
    Vendor Actual Wt Volume Wt Result
    1. ABC 15 25 30
    2. ABC 25 45 45
    3. XYZ 8 9 10
    4. XYZ 15 8 15

    Where Vendor ABC minimum weight slab is 30 Kgs.
    Vendors other than ABC minimum weight slab is 10 Kgs.
    Vendor ABC, any value in Col. B & C less than 30 Kgs., result should be 30 Kgs.
    Vendor ABC, any value in Col. B & C is greater than 30 Kgs, result should be higher value of any cell in B or C
    Same logic for rest of vendors but with weight slab of minimum 10 kgs.

    Would appreciate your resolution.
    Attached Files Attached Files

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Text String search with Min value slab vendor base

    Hi,

    In row 2,

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and copied down gives the result that you specify.
    Last edited by sweep; 03-10-2021 at 11:35 AM.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    04-29-2015
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    54

    Re: Text String search with Min value slab vendor base

    Formula working fine, thanks for your quick resolution.

  4. #4
    Registered User
    Join Date
    04-29-2015
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    54

    Re: Text String search with Min value slab vendor base

    Thanks but one query. I want to have all options in the formula.
    If Cell A2 contain TEXT ABC & ABC weight slab is 30 kgs, if Cell B2 or C2 is less than ABC weight slab 30, then result in D2 should be 30.
    If Cell A2 contain TEXT ABC & ABC weight slab 30 kgs, if Cell B2 or C2 is Greater than ABC weight slab 30, then result in D2 should be highest value of Cell B2 or C2.
    If Cell A2 does not contain TEXT ABC then weight slab will be 10 kgs and if Cell B2 or C2 is less than Non ABC weight slab of 10, then result in D2 should be 10.
    If Cell A2 does not contain TEXT ABC then Non ABC weight slab 10 kgs, if Cell B2 or C2 is Greater than Non ABC weight slab 10, then result in D2 should be highest value of Cell B2 or C2.

  5. #5
    Registered User
    Join Date
    04-29-2015
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    54

    Re: Text String search with Min value slab vendor base

    I have developed a formula =(IF(ISNUMBER(SEARCH("ABC",A2)),MAX(B2,C2,30),MAX(B2,C2,10))) and is working fine. Thanks for the basic idea.

+ 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] Search cell A1 for text string from B1, replace with text string from C1
    By portokie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-22-2019, 09:16 AM
  2. Replies: 2
    Last Post: 05-14-2015, 01:30 PM
  3. [SOLVED] Search for a text string and return given text string to adjacent cell
    By hecgroups in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2015, 04:50 AM
  4. Replies: 1
    Last Post: 02-20-2014, 12:24 PM
  5. Replies: 2
    Last Post: 12-02-2013, 03:29 PM
  6. Replies: 8
    Last Post: 03-03-2011, 03:28 PM
  7. Replies: 2
    Last Post: 02-26-2008, 03:22 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