+ Reply to Thread
Results 1 to 11 of 11

Creating function for "Choosing and Analyse Best Supplier"

  1. #1
    Registered User
    Join Date
    02-23-2018
    Location
    Turkey
    MS-Off Ver
    Office 2010
    Posts
    4

    Creating function for "Choosing and Analyse Best Supplier"

    Hello All.

    I have a question. This is what I want to do;

    I have 3 or more suppliers and every supplier gives me price list for items. I compile them into one excel file. I could choose only one supplier and I need to buy all items from that.

    For example, I have item list on the first column, Supplier A's prices in the second column, Supplier B's prices on third one etc.

    I would like to add extra columns to find out which supplier is best for that item and help me to analyze between suppliers.

    I would like to add one column for; check three prices and find minimum one and write it that cell.

    For another extra column; indicate this min. price belong to Supp.A or Supp.B or Supp.C

    And the hard part that I cannot figure it out; another column to make analyze.

    For example, I will write selected supplier on one cell like A, B or C

    An extra column for analyzing need to be; look selected supplier, compare its price with other two suppliers item by item.

    if min. price belongs to the selected supplier it will write to cell "Cheapest"

    if min. price of this item not belong to selected supplier; it will compare with other two suppliers price, if difference less than 10% between selected one and other two supplier price it will write "Not Cheapest but Safe", If the price difference more than 10% between selected one and either one of the other two suppliers it will write "Not Cheapest and Need Check"

    What do you think? Is this doable?

    ab.JPG

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Creating function for "Choosing and Analyse Best Supplier"

    Hi, welcome to the forum

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    02-23-2018
    Location
    Turkey
    MS-Off Ver
    Office 2010
    Posts
    4

    Re: Creating function for "Choosing and Analyse Best Supplier"

    Thank you FDibbins for quick reply and your guidance. Sorry for to post thread in wrong way. I am creating new one as you said.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Creating function for "Choosing and Analyse Best Supplier"

    I actually meant for you to post the sample WB here, in this thread, not start a new thread

  5. #5
    Registered User
    Join Date
    02-23-2018
    Location
    Turkey
    MS-Off Ver
    Office 2010
    Posts
    4

    Re: Creating function for "Choosing and Analyse Best Supplier"

    Oh yes, I am replying and tried to attached the dummy file. I hope it is working
    Attached Files Attached Files

  6. #6
    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,209

    Re: Creating function for "Choosing and Analyse Best Supplier"

    Try

    E5

    =MIN($B5:$D5)

    F5

    =INDEX($B$4:$D$4,MATCH($E5,$B5:$D5,0))

    G5

    =IF(F5=$C$1,"Cheapest",IF(ABS(INDEX(B5:D5,,MATCH(C1,B4:D4,0))-E5)/E5*100>10,"Not cheapest-Need to check","Not cheapest-safe"))

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Creating function for "Choosing and Analyse Best Supplier"

    Please refer to the attached.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  8. #8
    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,209

    Re: Creating function for "Choosing and Analyse Best Supplier"

    .. Update (ABS not needed)

    G5

    =IF(F6=$C$1,"Cheapest",IF(ABS(INDEX(B6:D6,,MATCH(C2,B5:D5,0))-E6)/E6*100>10,"Not cheapest-Need to check","Not cheapest-safe"))

  9. #9
    Registered User
    Join Date
    02-23-2018
    Location
    Turkey
    MS-Off Ver
    Office 2010
    Posts
    4

    Re: Creating function for "Choosing and Analyse Best Supplier"

    Thank you so much guys. I am really appreciated.

    I couldn't find to remark this post as solved, but this problem has solved.
    Last edited by peergynt; 02-23-2018 at 05:03 AM.

  10. #10
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Creating function for "Choosing and Analyse Best Supplier"

    You're welcome! Glad we could help.

  11. #11
    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,209

    Re: Creating function for "Choosing and Analyse Best Supplier"

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  2. To prevent macro from doing anything when choosing "cancel" or X.
    By Tona in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-30-2015, 05:38 AM
  3. [SOLVED] Assistance in creating a "Search" function for large data sheet
    By Ianseconds in forum Excel General
    Replies: 20
    Last Post: 10-21-2013, 10:12 AM
  4. [SOLVED] Problem creating Line Chart from columns "date" and "money"
    By brosef in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 11-05-2012, 09:01 AM
  5. Creating a FUNCTION that "looksup" data from an EXTERNAL workbook...I'm failing, HELP!
    By insaneoctane in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-29-2012, 05:22 PM
  6. Creating a search and "jump to" function
    By Brisebear in forum Excel General
    Replies: 3
    Last Post: 08-20-2006, 09:10 PM
  7. [SOLVED] Can you make a cell = 0 if original function is creating a"#ref!"?
    By DaveinNeedofHelp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2006, 08:10 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