+ Reply to Thread
Results 1 to 15 of 15

Single Cell Drop Down to Determine Data Sheet Lookup

Hybrid View

  1. #1
    Registered User
    Join Date
    02-10-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 365
    Posts
    30

    Single Cell Drop Down to Determine Data Sheet Lookup

    Hello,
    I am trying to create a spread sheet that will allow me to trend and proof the invoice data from one of our Colo sites we use. I am able to download monthly usage data from their web portal. Based on a drop down selection in cell A1, I would like to have the main sheet populated with that corresponding months data (on a separate sheet) but utilized the lookups and formulas from that main sheet. So, if I select FEB 2016 from the drop down, I would like the data from sheet 02-2016 input into the main sheet that would have all of the formulas and lookups which would correspond to the selected sheet. Image below and spread sheet attached. Please let me know if you have further questions.

    Colo Excel.jpg

    Thanks in advanced for any help on this!

    Bryce
    Attached Files Attached Files

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    Hi there,

    In your workbook, Columns B, C, D and E contain data for February, but Column F uses VLOOKUP formulas to display data for January. Is this intentional? Which month's data sould be displayed in Column F when Columns A-E contain data for (e.g.) April?

    Regards,

    Greg M

  3. #3
    Registered User
    Join Date
    02-10-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 365
    Posts
    30

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    Crap... yup... that was me messing around and not discarding changes. Should look like this.


    Thanks!
    Attached Files Attached Files

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    Hi again,

    Thanks for the very prompt reply.

    Sorry - I should have noticed this before - the Rack Levels in Column G of the Usage-Cost Detail worksheet aren't included in the monthly data worksheets. Are those values entered manually on the Usage-Cost Detail worksheet after the monthly location/consumption data values have been imported?

    Regards,

    Greg M

  5. #5
    Registered User
    Join Date
    02-10-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 365
    Posts
    30

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    Yes they are... they don't usually change. But there are rare instances where we may "upgrade or downgrade" racks.

  6. #6
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    Thanks for another very prompt reply.

    Ok on that - I'm going out for a few hours, but I should be able to post something here later tonight (5:45pm here now).

    Greg M

  7. #7
    Registered User
    Join Date
    02-10-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 365
    Posts
    30

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    Great! Thanks for all your help!

    Bryce

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    Here is a start for you. I have done the first few columns of Usage-Cost Detail. I inserted a helper column in the worksheets being addressed for values and also inserted a helper on the main worksheet (hidden column A) that has the actual worksheet name that corresponds to the drop down list choice.

    There are too many formulae to list. I think that you should be able to figure out how the formulae go for the other columns that you need filled out.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  9. #9
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    Hi again,

    Something else seems strange to me - the Usage-Cost Detail worksheet contains 78 rows of data (i.e. non Total / Subtotal rows), but a monthly worksheet contains only 76 rows of data. Where do the two extra rows of data come from?

    Also, in Rows (53:81) of the Usage-Cost Detail worksheet, is there a reason for the data row sequence being different from that of the monthly worksheet, or can the same sequence be used?

    Regards,

    Greg M
    Last edited by Greg M; 03-24-2016 at 07:51 AM. Reason: Second question added

  10. #10
    Registered User
    Join Date
    02-10-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 365
    Posts
    30

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    So, the Detail sheet has 78 because of the two rows of subtotal for the individual Colo "Cage" space we have. Right now, each cage space has a different negotiated cost (hoping to fix that in the next few months).

    The row sequencing changes because of the way the Colo designates their space. Right now, they are in the process of changing up their naming conventions to match across all of their different co-location buildings (our cages are spread across two different buildings).

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    About 40 rows down there is a summary of a group of records that takes up 2 rows and there is a row that doesn't correspond to the worksheet (Feb) data. Taking those rows into consideration, the number of rows should balance with the rest of the worksheets.

    There is a lot that I just don't get about this workbook. It would be much simpler to just bring all the data into the main worksheet and use pivot tables to summarize the data. Having data broken up the way that it is just doesn't make a whole lot of sense to me. Having said that, I found a way to bring the separate worksheet data into the main data sheet in the order that it is in the separate worksheets breaking at the correct point.

  12. #12
    Registered User
    Join Date
    02-10-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 365
    Posts
    30

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    Greg, it looks like you have hit the nail on the head! This is great! This spread sheet is a little rough that I gave you. I think I can translate what you have done here and hopefully clean up what it is we are trying to accomplish. I have no doubt I will be back asking for help on other bells and whistles that my boss is surely going to want me to add!

    Thanks for all your help!

    Bryce

  13. #13
    Registered User
    Join Date
    02-10-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 365
    Posts
    30

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    I looked at pivot tables, but would have to apply the lookups and calculations for every month first, correct? The way we are billed is different for each of our two "cage" sites and our usage varies monthly. Eventually this book will have data going back to 2014 and will continue on for the life of our contracts.

    I would be interested in seeing how you solved this with pivot tables.

  14. #14
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    Hi again Bryce,

    Many thanks for all of your feedback.

    I'll keep an eye on this thread, so please feel free to shout if you think I can help.

    Regards,

    Greg



    P. S. Thanks also for the Reputation increase - much appreciated!
    Last edited by Greg M; 03-24-2016 at 03:55 PM. Reason: P. S. added

  15. #15
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Single Cell Drop Down to Determine Data Sheet Lookup

    Until the data is "standardized" there isn't much that can be done for a permanent solution. What I gave you is an adaptable template that retrieves data from your worksheets. If you use different codes in the helper columns, that I used, for each of the two sections it will be relatively easy to retrieve the data in the order entered on each worksheet because this is just a vlookup determined by the worksheet name. The coding for each tab would be the same for each section because only the month and its values will change. The formulae for each section/month will remain the same. All you need is to get your data in a standardized format.

    I will keep a subscription to this thread to see what develops.

+ 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. Multiple data selection from drop down list --> to single cell
    By Monami in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2014, 08:10 AM
  2. Replies: 5
    Last Post: 04-10-2014, 06:43 AM
  3. [SOLVED] multiple data in single cell lookup in another one data
    By vengatvj in forum Excel General
    Replies: 7
    Last Post: 11-09-2013, 01:45 PM
  4. How do I determine the languge in a single cell?
    By mhampshire in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-03-2013, 02:08 PM
  5. Multiple lookup in a single cell with data validation
    By luckiest man in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-08-2011, 01:17 AM
  6. Multiple lookup in a single cell with data validation
    By luckiest man in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-08-2011, 01:02 AM
  7. Replies: 9
    Last Post: 07-15-2010, 11:59 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