+ Reply to Thread
Results 1 to 5 of 5

list data on summary sheet from multiple sheets, based on parameters

Hybrid View

tillyman list data on summary sheet... 12-01-2015, 11:45 AM
skywriter Re: list data on summary... 12-01-2015, 03:44 PM
tillyman Re: list data on summary... 12-07-2015, 04:12 PM
skywriter Re: list data on summary... 12-08-2015, 06:11 PM
tillyman Re: list data on summary... 12-11-2015, 10:06 AM
  1. #1
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: list data on summary sheet from multiple sheets, based on parameters

    I assume you want the amount from the G column for the applicable floor and you want it put into column F on the summary column. You would need to remove the formulas in column F and try this code.

    Thanks for the rep. points.

    Sub SummurizeSheets()
    Dim ws As Worksheet, colNumber As Long, flNumber As Long, wsSummary As Worksheet, rngFound As Range
    Application.ScreenUpdating = False
    Set wsSummary = Worksheets("Summary")
    flNumber = Application.InputBox("Enter floor number", Type:=1)
        For Each ws In Worksheets
            If Not (ws.Name = "Summary" Or ws.Name = "Daily On Hand" Or ws.Name = "SheetNames") Then
                Set rngFound = ws.Range("H24:AE24").Find(flNumber)
                If Not rngFound Is Nothing Then
                    colNumber = rngFound.Column
                        With ws.Range("A24:AE56")
                            .AutoFilter colNumber, Criteria1:="<>", VisibleDropDown:=False
                            If .SpecialCells(xlCellTypeVisible).Address = "$A$24:$AE$24" Then GoTo 1
                            Union(.Offset(1).Resize(.Rows.Count - 1, 5), .Offset(1, 6).Resize(.Rows.Count - 1, 1)).Copy
                            wsSummary.Cells(152, 1).End(xlUp).Offset(1, 0).PasteSpecial (xlPasteValues)
    1                      .AutoFilter
                        End With
                End If
            End If
        Next ws
    Application.ScreenUpdating = True
    End Sub
    Last edited by skywriter; 12-08-2015 at 06:28 PM.

+ 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. Summary Sheet - Using data from multiple sheets
    By disco dave in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-01-2015, 01:48 PM
  2. [SOLVED] Combining data across multiple sheets onto one summary sheet
    By dajul73 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-29-2014, 02:10 PM
  3. Replies: 0
    Last Post: 07-29-2013, 03:00 AM
  4. [SOLVED] Summary sheet - copy cell contents from multiple sheets to one summary sheet
    By jsmity in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 10:32 AM
  5. Replies: 0
    Last Post: 03-27-2012, 04:54 PM
  6. Macro to list data from several sheets in summary sheet
    By thunderstorm77 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-22-2011, 11:58 AM
  7. Copying a template sheet and putting those multiple sheets data into a summary sheet
    By John Wolfe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-18-2011, 06:29 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