+ Reply to Thread
Results 1 to 1 of 1

Macro to insert variable formula depending on sheet name

  1. #1
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Macro to insert variable formula depending on sheet name

    Hi,
    I have attached a workbook for your reference, I need code that will worksheets "Overall Service Statistics" & "Daily Statistics", add a row below the header, name it the same as the last sheet i.e "Lapsed Customers July" and the add the individual formula as seen in B:O for each row, Is this possible? I will be using the code as part of an existing macro which imports & sorts the data.

    I also need a way that I can input date into B1 in worksheet "Daily Statistics" and the countif statement will check the data in all worksheets that have the date entered within the range allocated and output a figure i.e Booked = 1 etc, Is this possible?
    Thanks
    Johnny
    Attached Files Attached Files

+ 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. Macro to insert cell values in another sheet depending on value and format
    By adw223 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2013, 03:57 PM
  2. [SOLVED] Need help with formula to sum certain cells in multiple worksheets depending on a variable
    By niftysquirrel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2013, 12:12 PM
  3. Macro to copy and paste variable depending on cell content
    By ejh88 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-21-2012, 06:13 PM
  4. [SOLVED] Macro to insert X rows depending on length of range
    By Whiskeytea in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-25-2012, 04:24 PM
  5. Macro to insert a formula to another sheet
    By Drayloc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2012, 12:48 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