+ Reply to Thread
Results 1 to 6 of 6

Split Amount Based on condition for specific cell value.

  1. #1
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Split Amount Based on condition for specific cell value.

    Hello Again,

    I am looking for a formula where the difference of amount split into the below listed values.

    Details:

    A user enter a Quantity in column B for each item. That Quantity which entered must not be maximum in column G.
    That Quantity and the Quantity in column G deducted and the difference will be spilt in to the matched values.

    For Example:
    I a user put 3000 Quantity for DIMODAN HP 75/B MB but the actual Quantity is 8090 so the different for these items are 5090.
    This 5090 will be divided into each same items mentioned below.

    Let say DIMODAN HP 75/B MB found 2 times in below list then the amount will be divided into 2 times if it is 3 times then divided by 3 and so on...

    Copy of expecting output is attached for your reference.
    Attached Files Attached Files

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

    Re: Split Amount Based on condition for specific cell value.

    The attached workbook does NOT include the excpected output, only one sample input. Please manually add the expected outcomes for an input of 3000 as shown.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Re: Split Amount Based on condition for specific cell value.

    I have added more samples as requested please check the attachment v2
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,790

    Re: Split Amount Based on condition for specific cell value.

    Im not sure you understood what I was asking. I want to know what you expect to see in columns C and D when those values are entered.

  5. #5
    Forum Contributor
    Join Date
    09-13-2013
    Location
    Saudi Arabia
    MS-Off Ver
    2010, 2013
    Posts
    192

    Re: Split Amount Based on condition for specific cell value.

    I am sorry. nothing should be done in column C & D.

    As shown in the attachment. If a user enter a quantity in column B. First of all that quantity must not be more than in column G for that specific item.

    then after the quantity entered in will be divided into below for same item.

    Example: DIMODAN HP 75/B MB New qty is 3000 and the original is 8090. So how many times this items appear below in column A it will be divided that number of times.
    in this case it will be count as 3 but need to divided into 2.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,790

    Re: Split Amount Based on condition for specific cell value.

    OK - I am sorry, I'm not getting it, but I am sure that someone lse will. Just hold on!

+ 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. Split Amount Based on condition
    By Abdur_rahman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-19-2020, 02:00 AM
  2. Highlight Specific Cell based with condition
    By rachelwahid in forum Excel General
    Replies: 5
    Last Post: 01-22-2019, 12:53 PM
  3. [SOLVED] Formula to split cell text based on specific characters
    By amlg in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-18-2019, 05:09 PM
  4. VBA macro to split a cell value based on a specific character
    By ksridh in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-11-2018, 10:47 AM
  5. Help to split words with specific condition
    By kennyfromcs in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-29-2015, 07:13 PM
  6. Split an amount evenly with condition
    By JustM3 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-04-2014, 09:43 AM
  7. Highlight the cell based on the specific condition
    By shaan65 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-25-2010, 02:07 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