+ Reply to Thread
Results 1 to 2 of 2

Move or delete cell information based on reference table

  1. #1
    Registered User
    Join Date
    11-19-2015
    Location
    Sydney, Australia
    MS-Off Ver
    2010
    Posts
    2

    Move or delete cell information based on reference table

    Hi,

    I've had to move from a data system where I could block data that meets a criteria I set and am looking to replicate this functionality in Excel.

    With the example source data (1st table) below I'd like to run a macro that ideally moves Q one cell to the right (the column is otherwise blank) if the below criteria are met (2nd post) under the header references.

    If this is possible, I'd really like to understand how to amend the code to add into the 'block list', vary headers etc.

    Excel 2010
    Row\Col
    E
    F
    G
    H
    I
    J
    K
    L
    M
    Q
    1
    EMART OPERATIONAL CONTROL ELEMENT UOM DATE Calender Year Financial Year Data source Data type Q
    152613
    GWA 11100 - Greases - Petroleum based (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    418
    152614
    GWA 11000 - Diesel automotive (Stationary) LT
    Feb-16
    2016
    2015-16 JDE X central
    5168
    152615
    GWA 11000 - Diesel automotive (Stationary) LT
    Feb-16
    2016
    2015-16 JDE X central
    5881
    152618
    GWA 11000 - Diesel automotive (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    4602
    153062
    GWA 11100 - Greases - Petroleum based (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    209
    153063
    GWA 11110 - Petroleum Oils (Stationary) KG
    Jan-16
    2016
    2015-16 JDE X central
    22
    153064
    GWA 11100 - Greases - Petroleum based (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    1,000
    153065
    GWA 11100 - Greases - Petroleum based (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    1,000
    153066
    GWA 11100 - Greases - Petroleum based (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    209
    153147
    F2E 11110 - Petroleum Oils (Stationary) LT
    Feb-16
    2016
    2015-16 JDE X central
    1000
    153148
    F2E 11110 - Petroleum Oils (Stationary) LT
    Feb-16
    2016
    2015-16 JDE X central
    960
    153149
    F2E 11000 - Diesel automotive (Stationary) LT
    Feb-16
    2016
    2015-16 JDE X central
    33311
    153150
    F2E 11000 - Diesel automotive (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    34442
    153335
    GWA 11000 - Diesel automotive (Stationary) LT
    Feb-16
    2016
    2015-16 JDE X central
    4180
    153416
    F2E 11000 - Diesel automotive (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    757
    153565
    GWA 11000 - Diesel automotive (Stationary) LT
    Feb-16
    2016
    2015-16 JDE X central
    4590
    153566
    GWA 11000 - Diesel automotive (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    4494.17
    153762
    GWA 11000 - Diesel automotive (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    4983.93
    153813
    F2E 11100 - Greases - Petroleum based (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    209
    153814
    F2E 11000 - Diesel automotive (Stationary) LT
    Jan-16
    2016
    2015-16 JDE X central
    34532
    153816
    F2E 11000 - Diesel automotive (Stationary) LT
    Feb-16
    2016
    2015-16 JDE X central
    1303.6
    Sheet: SOURCE

  2. #2
    Registered User
    Join Date
    11-19-2015
    Location
    Sydney, Australia
    MS-Off Ver
    2010
    Posts
    2

    Re: Move or delete cell information based on reference table

    Excel 2010
    Row\Col
    A
    B
    C
    1
    EMART ELEMENT Data type
    2
    GWA 11000 - Diesel automotive (Stationary) X central
    3
    F2E 11110 - Petroleum Oils (Stationary) X central
    Sheet: Sheet1

+ 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: 01-26-2016, 08:28 PM
  2. Replies: 0
    Last Post: 07-15-2015, 07:05 PM
  3. Replies: 1
    Last Post: 01-19-2015, 11:57 AM
  4. [SOLVED] Move entire row from one sheet to another based on cell value & delete the original row
    By ceciliacrawford in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-08-2014, 03:12 AM
  5. [SOLVED] How to get table cell information to reference in vba code
    By Mel56 in forum Word Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2013, 06:32 AM
  6. automatic move and delete macro based on cell value
    By DJSno in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-20-2010, 04:24 PM
  7. [SOLVED] Have VBA delete a group of cells, move information over, then add
    By Tina Bradshaw in forum Excel General
    Replies: 0
    Last Post: 02-22-2006, 12:10 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