+ Reply to Thread
Results 1 to 15 of 15

Formula required for distribution with multiple filters - IF or Vlookup or Index

  1. #1
    Registered User
    Join Date
    12-11-2015
    Location
    Bangalore
    MS-Off Ver
    MS Office 365
    Posts
    45

    Formula required for distribution with multiple filters - IF or Vlookup or Index

    Hello All,

    I have set of data, wherein would I like to distribute to Given names (Column E) equally. However, it has to filter individual item of Value(B column) and item of Source (Column C). Example: I chose 100 K from column B first and then CEM from Column C, there are 62 items and those should be distributed equally to given names in Column E and any blank cell in Column C should be ignored.

    Please do the needful.

    Regards,
    Dinesh
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

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

  3. #3
    Registered User
    Join Date
    12-11-2015
    Location
    Bangalore
    MS-Off Ver
    MS Office 365
    Posts
    45

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    Hello,

    It is giving result as " 13408544.3". However, I want names to be appeared.

    Please do the needful.

  4. #4
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    Please show the desired result as you are describing in words above. Attach an example that clearly shows how you want the name to appear; and based on what.

  5. #5
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,876

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    Is it something like this you need?

    Edit: Found a bug, had to upload again.
    Attached Files Attached Files
    Last edited by Jacc; 07-08-2016 at 07:24 AM.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  6. #6
    Registered User
    Join Date
    12-11-2015
    Location
    Bangalore
    MS-Off Ver
    MS Office 365
    Posts
    45

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    Hello,

    Thanks all for the help.. But that is not what I want. Please find the attached sheet with result I want column.

    Please do the needful.

    Thanks in advance.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,876

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    Oops! I thought the amount was going to be distributed equally within each category (and overall).
    So the Amount doesn't matter at all, just the count?

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


    And it takes forever to calculate!
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    07-08-2016
    Location
    USA
    MS-Off Ver
    Office 365, Office 2016 for PC & Mac, Office 2013, Office 2011 Mac
    Posts
    80

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    This works on the sample workbook, but will not work if there are more than four instances of a value and source. Let me know if you need an alternative.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,876

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    That's more like it! I got stuck on COUNTIF not accepting & but this is the way to go.

  10. #10
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,876

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    Formula is now a bit more civilized but it needs a helper column of ones.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    It's a lot faster but still not fast.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    12-11-2015
    Location
    Bangalore
    MS-Off Ver
    MS Office 365
    Posts
    45

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    Thanks Jacc. This works fine.

    However, I would like to increase instances. Let me try.

    Thanks so much.

  12. #12
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,876

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index


    ''''''''''''

  13. #13
    Registered User
    Join Date
    07-08-2016
    Location
    USA
    MS-Off Ver
    Office 365, Office 2016 for PC & Mac, Office 2013, Office 2011 Mac
    Posts
    80

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    Sagardinesh,

    I have the formula for multiple instances, let me know if you want it. It is a simple adjustment.

  14. #14
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,876

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    Post it. It's always fun to see smart solutions.

  15. #15
    Registered User
    Join Date
    07-08-2016
    Location
    USA
    MS-Off Ver
    Office 365, Office 2016 for PC & Mac, Office 2013, Office 2011 Mac
    Posts
    80

    Re: Formula required for distribution with multiple filters - IF or Vlookup or Index

    The mod formula solves it.

    Please Login or Register  to view this content.

+ 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. Replies: 5
    Last Post: 10-16-2016, 02:33 AM
  2. Multiple Vlookup Normal Formula (not array formula) or VBA Function Required
    By BoopathiK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2015, 03:06 AM
  3. Replies: 3
    Last Post: 05-26-2015, 11:34 AM
  4. Multiple Values from Vlookup (formula without index or arrays)
    By jasexcel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-22-2014, 12:02 PM
  5. [SOLVED] VLOOKUP-type formula required for partial text matche in multiple spreadsheets
    By JAMES_G in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-11-2013, 04:33 PM
  6. Data Distribution Problem (my Filters don't work either!)
    By OLLY-7 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-13-2013, 04:01 AM
  7. [SOLVED] IFERROR/INDEX Formula for Item Distribution Between Branches
    By revenah in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-06-2013, 11:58 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