+ Reply to Thread
Results 1 to 5 of 5

Make a table based on all options in a Data Validation drop-down

  1. #1
    Registered User
    Join Date
    01-14-2021
    Location
    Oxford
    MS-Off Ver
    Office 2016
    Posts
    3

    Make a table based on all options in a Data Validation drop-down

    Hi

    I have an extensive financial forecast, from which I have created the very simplified example attached.
    The Input page lists all revenue expected, by customer, product and month, with a Risk level (Low, Medium, High) assigned to each one. The Calc Revenue column only includes the particular line's revenue if the Company Revenue Risk level (at the top in yellow) is at least as high as that assigned to each row. Ie if a given row is High risk, and Company Revenue Risk is set to Medium, that row will be excluded.

    I have a need to put together a table, and then a chart showing Revenue by month for each of the three Company Revenue Risk levels (three lines on the same chart). (I also have the need to do the same for various other calculated items like cash level and stock held based on the same three Company Revenue Risk levels, but those sheets take in a whole load of other inputs, so I have excluded them from my example attached.)

    Problem is that Low, Medium and High are never calculated and shown at the same time, so I can't populate a table with the three rows I need. I thought about using a Data Table, but I can't work out how to do this, as the Company Revenue Risk level seems to be too remote from the revenue (let alone the cash or stock) calculations.

    Any thoughts welcome, and thanks in advance.

    S
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,127

    Re: Make a table based on all options in a Data Validation drop-down

    In B13, copied across:

    =SUMPRODUCT((Input!$E$4:$E$39=Summary!B$12)*(Input!$D$4:$D$39=$A13)*Input!$G$4:$G$39)

    In B14, copied across and down:

    =B13+SUMPRODUCT((Input!$E$4:$E$39=Summary!B$12)*(Input!$D$4:$D$39=$A14)*Input!$G$4:$G$39)

    see file.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    01-14-2021
    Location
    Oxford
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Make a table based on all options in a Data Validation drop-down

    Many thanks Glenn, that works a treat for the revenue table.
    For a follow-on question, as I alluded to in the original post, I would like similar Low Medium High tables for other elements of my financials, initially cash balance and stock levels. It is only revenue that has the Low Medium High classifications, but this feeds into the cash and stock calculations. Eg, revenue for each product for each month is used to work out how much of each product will be bought and when, based on minimum stock levels and minimum order quantities, and there are sales commissions too. Without duplicating all of these calculations for each revenue risk level, or using a macro (something I have never done), can you see a way to generate these tables?
    Thanks
    S

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,127

    Re: Make a table based on all options in a Data Validation drop-down

    RoFLAO... you are talking to an analytical chemist... and that torrent of words was incomprehensible to me!!

    You mock it up, show me where the numbers come from & I'll give it a go!!

  5. #5
    Registered User
    Join Date
    01-14-2021
    Location
    Oxford
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Make a table based on all options in a Data Validation drop-down

    Thanks Glenn
    It may take me some time to chop it down into the bare bones that I need you to look at, but I'll try and find the time for that next week. Needs to be slimmed down enough to be comprehensible, but not so much that it is over-simplistic.
    Thanks
    S

+ 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. Trying to make a macro that alters a table based on Data Validation
    By Adamsc21 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2020, 11:47 PM
  2. Replies: 1
    Last Post: 12-21-2019, 01:21 AM
  3. Data Validation Drop down based on Filtered Table
    By Juicy2052 in forum Excel General
    Replies: 1
    Last Post: 09-03-2014, 08:23 AM
  4. How to make drop down list (data validation) become longer by using any vba?
    By kikilala in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2014, 03:08 PM
  5. make drop down list with vba in excel with out data validation for use in sharepoint
    By ferrum_equitis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2012, 04:00 AM
  6. Replies: 2
    Last Post: 02-28-2012, 07:46 PM
  7. [SOLVED] Data Validation - Drop-down list - make arrow visible at all times
    By supergoat in forum Excel General
    Replies: 3
    Last Post: 04-19-2005, 08:06 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