+ Reply to Thread
Results 1 to 5 of 5

Macro to place two tables

  1. #1
    Registered User
    Join Date
    05-31-2012
    Location
    Dhaka, Bangladesh.
    MS-Off Ver
    Excel Office 365
    Posts
    99

    Macro to place two tables

    Hello,

    I need help to place 2 tables in a spreadsheet. Referring to my attached excel spreadsheet, the company total has been placed in B23. Depending on Employee size it might go down, but it will remain in Column B. However, keeping 3 rows blank below "Company totals" the tables will appear.

    My attached spreadsheet has the tables. It should be placed the exact format.

    Please help to make this.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: Macro to place two tables

    Fill in hour expected results, manually calculated.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-31-2012
    Location
    Dhaka, Bangladesh.
    MS-Off Ver
    Excel Office 365
    Posts
    99

    Re: Macro to place two tables

    Someone, please help.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: Macro to place two tables

    What is the expected result in each cell. how to calculate . Manually show it in file.
    Explain it in detail.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Registered User
    Join Date
    05-31-2012
    Location
    Dhaka, Bangladesh.
    MS-Off Ver
    Excel Office 365
    Posts
    99

    Re: Macro to place two tables

    I have saved an excel spreadsheet, there is a table from row # 27 to row # 40. While I will run the macro, this row # 27-40 will be placed below Company totals after keeping 3 rows blank like the spreadsheet. Company Totals may appear in any row depending on the size of the employee. In this spreadsheet there are 12 employees. If there are 15 employees, then Company totals will be available in B26. If so, after running the macro the table will be placed after keeping 3 rows blank below Company Total.

    Thanks so much

+ 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. [SOLVED] Help with a macro - can't get worksheet in right place
    By candymycandy in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-17-2019, 11:05 AM
  2. [SOLVED] If cell = G2 then place 1 macro help???
    By alesha711 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-05-2019, 04:14 PM
  3. Replies: 1
    Last Post: 10-31-2018, 09:12 AM
  4. macro to Create 3 tables from tables in the attached sheet
    By irfanparbatani in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-12-2015, 08:13 AM
  5. How to place data tables from different sheets into one,
    By anT_G in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-24-2013, 10:04 AM
  6. [SOLVED] Default Value to Zero in Pivot Tables:Is there such a place?
    By Cheryl B. in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-05-2005, 01:05 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