Results 1 to 3 of 3

Need a help with a macro, to check date and change value.

Threaded View

  1. #1
    Registered User
    Join Date
    10-02-2017
    Location
    Internet
    MS-Off Ver
    Excel 2016
    Posts
    2

    Need a help with a macro, to check date and change value.

    Hello there!

    I want to know If I can complete this with macro, and if so, how?
    I am pretty new into all this mess.

    Lets Say

    I have a J table with date, I table with devliering person, and K with amount.

    I want a macro that does check if the J(date) is the same, and if it is, then check if the I(delivering) has the same value, and if the K(amount) is the same, then
    I want it to leave one row as correct amount like 27 for example, and all the others 27 I want to have 0 value.

    Also after every date swap like 17 jan to 18 jan, I'd love to have 3 rows blank for my own calc's

    Is it possible to achieve ?


    Example
    I J K
    DAD 18 sie 17 11
    SDA 18 sie 17 14
    ABC 18 sie 17 50
    ABC 18 sie 17 50
    ABC 18 sie 17 50
    ABC 18 sie 17 50

    Desired
    I J K
    DAD 18 sie 17 11
    SDA 18 sie 17 14
    ABC 18 sie 17 50
    ABC 18 sie 17 0
    ABC 18 sie 17 0
    ABC 18 sie 17 0
    Last edited by Ravir; 10-03-2017 at 02:37 AM. Reason: Rule 1 has been broken

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. script to run the macro from Vb script with out opening the excel file
    By chandanp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2021, 03:33 AM
  2. Execute VB Script/ SAP Script from Excel
    By ramkrishna1111 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-23-2015, 01:54 PM
  3. calling the vb script from the shell script(unix platform)
    By chandanp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2014, 06:21 AM
  4. Integrating Mainframe emulator script with excel's vba script
    By Himanshu Mishra in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2012, 10:30 AM
  5. Create VBA script to short, dedicated button in excel for script?
    By realized in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2009, 11:54 PM
  6. Script that edits the text printed on the button that runs the script
    By petalred in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2008, 02:41 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