Results 1 to 4 of 4

Macro formula:write formula manually instead of vlookup

Threaded View

  1. #1
    Registered User
    Join Date
    06-23-2014
    Location
    malaysia
    MS-Off Ver
    2010
    Posts
    30

    Lightbulb Macro formula:write formula manually instead of vlookup

    Hi,

    Column N: Im using vlookup, but i prefer to change it to formula below since macro running slow if i using it. But the formula didnt run as well. Can help?

    Im really a new beginner in VBA, my macro is auto recording. Can it be simplified?

    Book2 (Autosaved).xlsm

    Activecell.FormulaR1C1= _ " IF(H3="O6","6%",IF(H3="H6","6%",IF(H3="OD","6%",IF(H3="OA","6%",IF(H3="OC","6%",IF(H3="I6","6%",IF(H3="IM","6%",IF(H3="IB","6%",IF(H3="IH","6%",_
    IF(H3="IA","6%",IF(H3="IC","6%",IF(H3="IR","6%",IF(H3="HR","6%",IF(H3="IL","0%",IF(H3="IN","0%",IF(H3="IO","0%",IF(H3="IS","0%",IF(H3="IX","0%",IF(H3="OO","0%",IF(H3="OX","0%")))))))))))))))))))) "
    Last edited by tieyanna; 08-20-2015 at 08:17 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Excel Formula returning True Value for False Formula
    By bvercher in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-03-2015, 09:10 AM
  2. Replies: 2
    Last Post: 03-21-2014, 11:43 AM
  3. Excel formula if conition formula for 2 condition with consider timings
    By breadwinner in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-18-2013, 11:05 AM
  4. 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
  5. Replies: 0
    Last Post: 03-19-2012, 07:32 PM
  6. Replies: 1
    Last Post: 03-04-2012, 12:03 AM
  7. Excel 2002 formula displayed not value formula option not checked
    By Dean in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2006, 10:35 AM

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