+ Reply to Thread
Results 1 to 6 of 6

Need to Auto Format Sheet based on available data on table

  1. #1
    Registered User
    Join Date
    07-20-2014
    Location
    phoenix,az
    MS-Off Ver
    200
    Posts
    22

    Need to Auto Format Sheet based on available data on table

    I have created a sheet that tracks performance of individual shops and the performance of the employees. The challenge is that the employee names change as turnover happens. To avoid having to constantly add and delete lines in the master list, is there a way to auto format the sheet depending on the values found? The shop names are all in column A, and the employee names are listed after the store in column B.

    Table listed on tab "Shop" as:
    Shop1
    Name1
    Name2
    Name3
    Shop2
    Name4
    Name5

    Output sheet needs to auto adapt if the data from "Shop" changed to:

    Shop1
    Name1
    Name2
    Name3
    Name6
    Shop2
    Name4
    Name7

    Almost looking for anything listed under shop 1, until shop2 is listed.

    Ideas?

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Need to Auto Format Sheet based on available data on table

    Upload an example Excel file (no pics, please) of what you are working with. Be sure to 'sanitize' the data.

  3. #3
    Registered User
    Join Date
    07-20-2014
    Location
    phoenix,az
    MS-Off Ver
    200
    Posts
    22

    Re: Need to Auto Format Sheet based on available data on table

    Attached an example worksheet. The lines highlighted on the data tab would represent the new data loaded for the next day, with the name changes listed.
    Attached Files Attached Files

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Need to Auto Format Sheet based on available data on table

    See the attached.

    I did 4 things.

    I eliminated the merged cells in 'shop'. These almost always cause headaches when writing formula. It's best to use them for "Final Presentation" as window dressing....not at data entry points.

    I created a 2D Dynamic Named Range in Name Manager. The formula is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    You can view / edit it in Name Manager by going to Formulas / Name Manager. This DNR is defined to stop at row 50. If that is not enough rows change the row references in Name Manager (the DNR is named NameFinder) to an amount a hundred rows or so more than you might reasonably expect to need.

    This allows you to enter this formula in A2:B50 or however far down you wish to go.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    That will transfer the new data from 'shop'.

    To cover the formatting in Format Manager I put a formula that formats as you see in Sheet 1. The formula is
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-20-2014
    Location
    phoenix,az
    MS-Off Ver
    200
    Posts
    22
    Worked perfect! Thank you!

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Need to Auto Format Sheet based on available data on table

    Your welcome. Glad it worked.

+ 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: 2
    Last Post: 04-28-2014, 05:17 AM
  2. [SOLVED] Auto Populate cell based on auto filter selection from table in same sheet
    By missydanni in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2013, 05:03 PM
  3. Cannot get line chart to auto format Y axis based on data.
    By Torinoman911 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-01-2013, 06:40 PM
  4. Replies: 6
    Last Post: 10-04-2012, 11:12 AM
  5. Auto fill table based on the data from another workbook
    By Biona in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2011, 01:30 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