+ Reply to Thread
Results 1 to 8 of 8

Pull item history

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Pull item history

    Look at what i have done on sheet 2 manually , raw data on sheet1

    Find attached
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,212

    Re: Pull item history

    As usual, you offer no explanation in WORDS: do you require ALL purchases? and do we separate out the entry you have in column A?

    Please provide a better sample.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull item history

    Yellow is the Key for which macro should search , i asked for SANTA LUCIA , there are 1ooo products

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,212

    Re: Pull item history

    For "SANTA LUCIA", simply filter on "SANTA LUCIA" in column B.

    What is in column A for these ..????


    MAJI MASAFI 350 ML - 1 X 24
    MAJI MASAFI 600ML - 1 X 12
    MAJI MASAFI 12LTR
    MAJI MASAFI 17LTR

    or

    BIG BOM LOLLYPOP X 14

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,212

    Re: Pull item history

    Guessing ....


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by JohnTopley; 10-30-2023 at 04:44 PM.

  6. #6
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull item history

    So from where do type the filter say another item ?

  7. #7
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Pull item history

    Another option. Trigger any change in cell A1 sheet2.
    Change A1 to get the updated results.
    Put this code in sheet2 module

    PHP Code: 
    Option Explicit
    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim lr&, i&, k&, rngdat As Dateres(1 To 100001 To 4)
    If 
    Target.Address(00) <> "A1" Then Exit Sub
    With Sheets
    ("Sheet1")
        
    lr = .Cells(Rows.Count"B").End(xlUp).Row
        rng 
    = .Range("A3:D" lr).Value
    End With
    For 1 To UBound(rng)
        If 
    IsDate(rng(i1)) Then dat rng(i1)
        If 
    rng(i2) = Target.Value Then
            k 
    1res(k1) = datres(k2) = Target.Value
            res
    (k3) = rng(i3): res(k4) = rng(i4)
        
    End If
    Next
    Range
    ("C1:F10000").ClearContents
    If 0 Then Range("C1").Resize(k4).Value res
    Columns
    ("A:F").AutoFit
    End Sub 
    Attached Files Attached Files
    Quang PT

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,212

    Re: Pull item history

    Please Login or Register  to view this content.
    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. Replies: 3
    Last Post: 08-29-2023, 09:45 PM
  2. [SOLVED] item history report
    By makinmomb in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-09-2023, 02:00 PM
  3. Replies: 3
    Last Post: 06-14-2022, 06:23 AM
  4. Replies: 10
    Last Post: 12-01-2020, 04:17 PM
  5. [SOLVED] A way to store item history
    By zaibuojantis in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-18-2019, 08:50 AM
  6. Macros Pull data from report tab and add to main tab then move to history tab
    By TAMMY32 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-23-2018, 08:18 PM
  7. [SOLVED] Pull trans history by description
    By makinmomb in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-10-2015, 12:15 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