+ Reply to Thread
Results 1 to 4 of 4

Macro formula:write formula manually instead of vlookup

  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.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: Formula in excel

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Never use Merged Cells in Excel

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

    Re: Macro formula:write formula manually instead of vlookup

    Hi. My issue, will u help it.

    Sent from my D6503 using Tapatalk

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

    Re: Formula in excel

    Quote Originally Posted by zbor View Post
    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Hi, am i now comply with the Rule.

    Sent from my D6503 using Tapatalk

+ 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. [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. [SOLVED] 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