+ Reply to Thread
Results 1 to 2 of 2

formula macro

  1. #1
    Forum Contributor
    Join Date
    10-31-2018
    Location
    venezia
    MS-Off Ver
    2007
    Posts
    487

    formula macro

    Hi to all.
    In range L4:L5000 there is this formula

    Please Login or Register  to view this content.
    but it slows down the file a lot.
    is it possible to create this macro?

    IF k4 >1 then L4 = TEXT(K4,"0000-00-00")*1

    must work from L4: L5000
    john

  2. #2
    Forum Contributor
    Join Date
    10-31-2018
    Location
    venezia
    MS-Off Ver
    2007
    Posts
    487

    Re: formula macro

    I did this:

    Please Login or Register  to view this content.
    it is possible to do

    IF k4 >1 then L4 =IF(ISERROR( TEXT(RC[-1],""00-00-00"")*1),"""", TEXT(RC[-1],""00-00-00"")*1)"

+ 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 paste formula in colK after a macro executed
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-20-2017, 08:39 PM
  2. Macro to paste formula to selection that replaces a formula with a named range.
    By Evan69 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-26-2017, 05:46 AM
  3. Problem with recording a macro with long formula - works in Excel but not in macro
    By tonybeo2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2015, 11:25 AM
  4. VBA Macro: Plugging an Array-Formula into a Cell and Dragging Formula Down Columns
    By Brianandstewie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-20-2013, 02:57 PM
  5. Replies: 1
    Last Post: 01-27-2013, 11:05 AM
  6. Macro: Applying formula to multiple cells in excel (formula editing)
    By city in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-27-2012, 06:41 AM
  7. Replies: 1
    Last Post: 07-20-2006, 03:05 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