+ Reply to Thread
Results 1 to 3 of 3

Consolidation of Ranges & Nested IF

  1. #1
    Registered User
    Join Date
    06-01-2009
    Location
    Atlanta
    MS-Off Ver
    Excel 2007
    Posts
    11

    Consolidation of Ranges & Nested IF

    Hey All, I'm currently working with a Production control problem. I have three columns, namely
    a. Product Part number
    b. Vendor
    c. Cost of a product

    I need do these with the work sheet:

    1. Find the vendor with the highest cost of products sold and his net cost. (The same vendor will be selling multiple part numbers. So I would have to calculate the biggest vendor by grouping net cost across multiple part numbers)
    2. Find the net part numbers supplied by the vendor with the highest cost.

    I have attached an example excel sheet. It would be great if you could help me out with this.

    Thanks!!
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Consolidation of Ranges & Nested IF

    You could use a PT to do this for you.

    Using your sample file you can create as follows:

    1. highlight the data A1:C21
    2. Insert -> Pivot Table
    3. Click OK
    4. Drag Vendor to Row Label
    5. Drag Part to Row Label
    6. Drag Cost to Value area
    7. Right Click on a Vendor entry in the PT and select Filter -> Top10 then:
    change 10 to 1 (and ensure Filtering on Sum of Cost)

    The PT will now display the Vendor with the greatest cost and subsequently list all Parts assigned to that Vendor.

    If you were to change say C2 on the source sheet from 57 to 1000 and refresh you will find the Vendor changes from B to A and the parts listed update accordingly.

  3. #3
    Registered User
    Join Date
    06-01-2009
    Location
    Atlanta
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Consolidation of Ranges & Nested IF

    Thanks for the reply. A pivot table would not be the best solution for me, as I plan to use the final result from this data as part of a model, namely the number fits in to calculate another set of formulas.

    I'm trying to automate the entire sheet, that a single change in the master file will recalculate the entire database {if you may call an excel worksheet so }

    Are there any more ideas?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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