+ Reply to Thread
Results 1 to 10 of 10

How do I generate a table on another sheet depending on input data?

  1. #1
    Registered User
    Join Date
    11-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010 (MAC)
    Posts
    29

    How do I generate a table on another sheet depending on input data?

    I am tracking business hours of various business locations. I would like to be able to enter the businesses operating hours on the "overview sheet" and, based on those hours, have a table generated on another sheet that "autofills" based on the date entered on the "overview sheet". For example:


    I would enter the operating hours of the business on the "overview sheet" and it would look something like this:
    Day Open Close
    Monday 8:00 AM 7:00 PM
    Tuesday 8:00 AM 7:00 PM
    Wednesday 8:00 AM 7:00 PM
    Thursday 8:00 AM 7:00 PM
    Friday 8:00 AM 10:00 PM
    Saturday 9:00 AM 7:00 PM
    Sunday 0:00 0:00

    Then, on another sheet called "Time Slot Rankings", I want to automatically generate a table for each of the days that looks something like:

    Monday Ranking
    8AM-9AM
    9AM-10AM
    10AM-11AM
    11AM-12PM
    12PM-1PM
    1PM-2PM
    2PM-3PM
    3PM-4PM
    4PM-5PM
    5PM-6PM
    6PM-7PM

    I want a table for each day created. I would then manually enter the data for the "Ranking" column. The issue is that I have numerous location I want to do this for and all with varying hours of operation. It is very tedious to manually create the tables.

    Any help would be greatly appreciated!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How do I generate a table on another sheet depending on input data?

    http://www.excelforum.com/the-water-...-question.html
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    11-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010 (MAC)
    Posts
    29

    Re: How do I generate a table on another sheet depending on input data?

    Here is an example:

    excel_example.xlsx

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How do I generate a table on another sheet depending on input data?

    Maybe like this.

    One the sheet (new sheet) i used an formula to get the result.

    See the yellow cells.

  5. #5
    Registered User
    Join Date
    11-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010 (MAC)
    Posts
    29

    Re: How do I generate a table on another sheet depending on input data?

    Thanks for your reply.

    It appears that the data you used in your formulas on the "new sheet" was not data that originally existed on the "overview sheet". What I am looking for is using the "Hours of Operation" data on the overview sheet to generate the components of the "Time Slot Ranking" table.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How do I generate a table on another sheet depending on input data?

    You only have to make once the table I set up.

    After that you can use this table.

    With the table (and the formula's) you get the result you asked for (if I understood you right).

  7. #7
    Registered User
    Join Date
    11-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010 (MAC)
    Posts
    29

    Re: How do I generate a table on another sheet depending on input data?

    I think I understand what you are saying, but I am trying to avoid creating that table manually. If I create it manually, I have no need to use formulas to create another table on another sheet.

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How do I generate a table on another sheet depending on input data?

    you avoid false input if you use formula's

  9. #9
    Registered User
    Join Date
    11-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010 (MAC)
    Posts
    29

    Re: How do I generate a table on another sheet depending on input data?

    This is an update to what I have done so far. I can now manipulate the hours of operation on the "Overview" sheet and it will populate on the "Time Slot Rankings" sheet. One issue I am having is the "#VALUE!" in unused fields. Anyone know how I can get rid of that? I thought using the ISBLANK() function inside my OR() function would return "", but that isn't working. I want the formulas on the 'Time Slot Rankings" sheet to run from cell rows 2 to 24, that will account for all possible time slots if a business is open for 24 hours.

    excel_example.xlsx

  10. #10
    Registered User
    Join Date
    11-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010 (MAC)
    Posts
    29

    Re: How do I generate a table on another sheet depending on input data?

    Just updating that I have gotten the workbook to perform as desired by enclosing all of my formulas with IFERROR(original formula), "").

+ 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. Generate list in new sheet/window based on cell value and command button input
    By nathanmrs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-25-2013, 09:37 AM
  2. Transfer single column input data to fixed table in a separate Sheet
    By Prokis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2012, 05:37 AM
  3. Generate Summary Report in a tabular form from the Input Sheet
    By excelhelp18 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-30-2012, 12:52 PM
  4. [SOLVED] Lookup more than one table,depending on user input
    By interested in forum Excel General
    Replies: 8
    Last Post: 07-23-2012, 05:13 PM
  5. How to generate a certain data depending on the interval
    By lil_stadde in forum Excel General
    Replies: 1
    Last Post: 03-30-2010, 01:50 PM

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