+ Reply to Thread
Results 1 to 4 of 4

Matching cells to return a division of a value based on the number of cell matched

  1. #1
    Registered User
    Join Date
    07-08-2020
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    2

    Matching cells to return a division of a value based on the number of cell matched

    I'm trying to find a formula to identify the shipment type and allocate the correct shipping fee.

    On top of that, i need to identify those with the same order number as the shipping fees are split among them.
    Standard postage = $2
    Company A Postage = $10
    Company B Postage = $10

    If there are 2 items in 1 order number, fee is split at $5 each.
    If there are 3 items in 1 order number, fee is split at $3.33 each.

    Order Item Id Item Shipment Type Shipping Fee
    1000000000001 Apple Standard Postage $2.00
    2000000000002 Apple Company A: Postage with Tracking $3.33
    2000000000002 Orange Company A: Postage with Tracking $3.33
    2000000000002 Pear Company A: Postage with Tracking $3.33

    3000000000003 Mango Company A: Postage with Tracking $10.00
    4000000000004 Peach Company B: Postage with Tracking $10.00
    5000000000005 Apple Company B: Postage with Tracking $5.00
    5000000000005 Peach Company B: Postage with Tracking $5.00


    Any help will be deeply appreciated!
    Attached Files Attached Files
    Last edited by Yata; 07-08-2020 at 01:27 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,728

    Re: Matching cells to return a division of a value based on the number of cell matched

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-08-2020
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    2

    Re: Matching cells to return a division of a value based on the number of cell matched

    Quote Originally Posted by AliGW View Post
    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Thank you for the reply. Attachment has been added.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Matching cells to return a division of a value based on the number of cell matched

    In D2 then drag down:
    Please Login or Register  to view this content.
    Quang PT

+ 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] Matching 2 CELLS Based on the Highest Matched Consecutive Characters
    By Najwa_X in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-26-2020, 06:11 AM
  2. Lookup material number and return matched number
    By RBMAGBANUA in forum Excel General
    Replies: 1
    Last Post: 09-28-2018, 01:23 PM
  3. [SOLVED] Return Row number and corresponding value from another column if cell value matched
    By mgcarino14 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-12-2016, 12:08 PM
  4. [SOLVED] Trying to return value based on two cells in one row matching two different cells
    By bellicusa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-11-2015, 11:14 AM
  5. Replies: 2
    Last Post: 01-28-2015, 09:07 AM
  6. Change cell colour, based on matched cells in sheet 2
    By Bobbo Jones in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-14-2013, 02:27 AM
  7. [SOLVED] Copy adjacent cells based on matched cell criteria
    By asdfwqefwe3 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-26-2013, 02:26 AM

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